Hi, 1. Is it possible, using a descope management ...
# ask-a-descoper
d
Hi, 1. Is it possible, using a descope management key, to create a jwt for an access key using its client id? 2. If not, is it possible to create a jwt, using the exchange access key, using the clientSDK.Auth.ExchangeAccessKey() function, with an expiration time that is less than the project's session management expiration configuration?
c
Hey Dudi, 1. Not necessarily. However, have you possibly looked at client credentials flow? a. https://docs.descope.com/identity-federation/inbound-apps/using-inbound-apps#client-credentials-flow 2. Access keys use the project level config for expiration; however, if you wanted specific ones for this use case, I'd suggest actually using an inbound app and client credentials flow since you can set the expiration specific to that M2M auth flow in the inbound app.