published on Sunday, Oct 11, 2026 by Descope
published on Sunday, Oct 11, 2026 by Descope
Manages the project-level session management settings. This is a singleton resource, and its id is always the project ID.
Create SessionSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SessionSettings(name: string, args: SessionSettingsArgs, opts?: CustomResourceOptions);@overload
def SessionSettings(resource_name: str,
args: SessionSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SessionSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
refresh_token_response_method: Optional[str] = None,
session_token_cookie_domain: Optional[str] = None,
inactivity_time: Optional[str] = None,
access_key_session_token_expiration: Optional[str] = None,
refresh_token_cookie_domain: Optional[str] = None,
refresh_token_cookie_policy: Optional[str] = None,
enable_inactivity: Optional[bool] = None,
refresh_token_expiration: Optional[str] = None,
refresh_token_rotation: Optional[bool] = None,
access_key_jwt_template: Optional[str] = None,
session_token_cookie_policy: Optional[str] = None,
session_token_expiration: Optional[str] = None,
session_token_response_method: Optional[str] = None,
step_up_token_expiration: Optional[str] = None,
trusted_device_token_expiration: Optional[str] = None,
user_jwt_template: Optional[str] = None)func NewSessionSettings(ctx *Context, name string, args SessionSettingsArgs, opts ...ResourceOption) (*SessionSettings, error)public SessionSettings(string name, SessionSettingsArgs args, CustomResourceOptions? opts = null)
public SessionSettings(String name, SessionSettingsArgs args)
public SessionSettings(String name, SessionSettingsArgs args, CustomResourceOptions options)
type: descope:SessionSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "descope_session_settings" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SessionSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SessionSettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SessionSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SessionSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SessionSettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sessionSettingsResource = new Descope.SessionSettings("sessionSettingsResource", new()
{
ProjectId = "string",
RefreshTokenResponseMethod = "string",
SessionTokenCookieDomain = "string",
InactivityTime = "string",
AccessKeySessionTokenExpiration = "string",
RefreshTokenCookieDomain = "string",
RefreshTokenCookiePolicy = "string",
EnableInactivity = false,
RefreshTokenExpiration = "string",
RefreshTokenRotation = false,
AccessKeyJwtTemplate = "string",
SessionTokenCookiePolicy = "string",
SessionTokenExpiration = "string",
SessionTokenResponseMethod = "string",
StepUpTokenExpiration = "string",
TrustedDeviceTokenExpiration = "string",
UserJwtTemplate = "string",
});
example, err := descope.NewSessionSettings(ctx, "sessionSettingsResource", &descope.SessionSettingsArgs{
ProjectId: pulumi.String("string"),
RefreshTokenResponseMethod: pulumi.String("string"),
SessionTokenCookieDomain: pulumi.String("string"),
InactivityTime: pulumi.String("string"),
AccessKeySessionTokenExpiration: pulumi.String("string"),
RefreshTokenCookieDomain: pulumi.String("string"),
RefreshTokenCookiePolicy: pulumi.String("string"),
EnableInactivity: pulumi.Bool(false),
RefreshTokenExpiration: pulumi.String("string"),
RefreshTokenRotation: pulumi.Bool(false),
AccessKeyJwtTemplate: pulumi.String("string"),
SessionTokenCookiePolicy: pulumi.String("string"),
SessionTokenExpiration: pulumi.String("string"),
SessionTokenResponseMethod: pulumi.String("string"),
StepUpTokenExpiration: pulumi.String("string"),
TrustedDeviceTokenExpiration: pulumi.String("string"),
UserJwtTemplate: pulumi.String("string"),
})
resource "descope_session_settings" "sessionSettingsResource" {
lifecycle {
create_before_destroy = true
}
project_id = "string"
refresh_token_response_method = "string"
session_token_cookie_domain = "string"
inactivity_time = "string"
access_key_session_token_expiration = "string"
refresh_token_cookie_domain = "string"
refresh_token_cookie_policy = "string"
enable_inactivity = false
refresh_token_expiration = "string"
refresh_token_rotation = false
access_key_jwt_template = "string"
session_token_cookie_policy = "string"
session_token_expiration = "string"
session_token_response_method = "string"
step_up_token_expiration = "string"
trusted_device_token_expiration = "string"
user_jwt_template = "string"
}
var sessionSettingsResource = new SessionSettings("sessionSettingsResource", SessionSettingsArgs.builder()
.projectId("string")
.refreshTokenResponseMethod("string")
.sessionTokenCookieDomain("string")
.inactivityTime("string")
.accessKeySessionTokenExpiration("string")
.refreshTokenCookieDomain("string")
.refreshTokenCookiePolicy("string")
.enableInactivity(false)
.refreshTokenExpiration("string")
.refreshTokenRotation(false)
.accessKeyJwtTemplate("string")
.sessionTokenCookiePolicy("string")
.sessionTokenExpiration("string")
.sessionTokenResponseMethod("string")
.stepUpTokenExpiration("string")
.trustedDeviceTokenExpiration("string")
.userJwtTemplate("string")
.build());
session_settings_resource = descope.SessionSettings("sessionSettingsResource",
project_id="string",
refresh_token_response_method="string",
session_token_cookie_domain="string",
inactivity_time="string",
access_key_session_token_expiration="string",
refresh_token_cookie_domain="string",
refresh_token_cookie_policy="string",
enable_inactivity=False,
refresh_token_expiration="string",
refresh_token_rotation=False,
access_key_jwt_template="string",
session_token_cookie_policy="string",
session_token_expiration="string",
session_token_response_method="string",
step_up_token_expiration="string",
trusted_device_token_expiration="string",
user_jwt_template="string")
const sessionSettingsResource = new descope.SessionSettings("sessionSettingsResource", {
projectId: "string",
refreshTokenResponseMethod: "string",
sessionTokenCookieDomain: "string",
inactivityTime: "string",
accessKeySessionTokenExpiration: "string",
refreshTokenCookieDomain: "string",
refreshTokenCookiePolicy: "string",
enableInactivity: false,
refreshTokenExpiration: "string",
refreshTokenRotation: false,
accessKeyJwtTemplate: "string",
sessionTokenCookiePolicy: "string",
sessionTokenExpiration: "string",
sessionTokenResponseMethod: "string",
stepUpTokenExpiration: "string",
trustedDeviceTokenExpiration: "string",
userJwtTemplate: "string",
});
type: descope:SessionSettings
properties:
accessKeyJwtTemplate: string
accessKeySessionTokenExpiration: string
enableInactivity: false
inactivityTime: string
projectId: string
refreshTokenCookieDomain: string
refreshTokenCookiePolicy: string
refreshTokenExpiration: string
refreshTokenResponseMethod: string
refreshTokenRotation: false
sessionTokenCookieDomain: string
sessionTokenCookiePolicy: string
sessionTokenExpiration: string
sessionTokenResponseMethod: string
stepUpTokenExpiration: string
trustedDeviceTokenExpiration: string
userJwtTemplate: string
SessionSettings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SessionSettings resource accepts the following input properties:
- Project
Id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- Access
Key stringJwt Template - The ID of the JWT template used for access key session tokens.
- Access
Key stringSession Token Expiration - How long access key session tokens remain valid before they expire.
- Enable
Inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- Inactivity
Time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - Refresh
Token stringExpiration - How long refresh tokens remain valid before they expire.
- Refresh
Token stringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Refresh
Token boolRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - Session
Token stringExpiration - How long session tokens remain valid before they expire.
- Session
Token stringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Step
Up stringToken Expiration - How long step up tokens remain valid before they expire.
- Trusted
Device stringToken Expiration - How long trusted device tokens remain valid before they expire.
- User
Jwt stringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- Project
Id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- Access
Key stringJwt Template - The ID of the JWT template used for access key session tokens.
- Access
Key stringSession Token Expiration - How long access key session tokens remain valid before they expire.
- Enable
Inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- Inactivity
Time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - Refresh
Token stringExpiration - How long refresh tokens remain valid before they expire.
- Refresh
Token stringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Refresh
Token boolRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - Session
Token stringExpiration - How long session tokens remain valid before they expire.
- Session
Token stringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Step
Up stringToken Expiration - How long step up tokens remain valid before they expire.
- Trusted
Device stringToken Expiration - How long trusted device tokens remain valid before they expire.
- User
Jwt stringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- project_
id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- access_
key_ stringjwt_ template - The ID of the JWT template used for access key session tokens.
- access_
key_ stringsession_ token_ expiration - How long access key session tokens remain valid before they expire.
- enable_
inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- inactivity_
time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh_
token_ stringexpiration - How long refresh tokens remain valid before they expire.
- refresh_
token_ stringresponse_ method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh_
token_ boolrotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session_
token_ stringexpiration - How long session tokens remain valid before they expire.
- session_
token_ stringresponse_ method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step_
up_ stringtoken_ expiration - How long step up tokens remain valid before they expire.
- trusted_
device_ stringtoken_ expiration - How long trusted device tokens remain valid before they expire.
- user_
jwt_ stringtemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- project
Id String - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- access
Key StringJwt Template - The ID of the JWT template used for access key session tokens.
- access
Key StringSession Token Expiration - How long access key session tokens remain valid before they expire.
- enable
Inactivity Boolean - Whether to detect idle sessions and close them on behalf of the user.
- inactivity
Time String - How long a session can be inactive before it's closed, when
enableInactivityis set. - String
- The domain the refresh token cookie is restricted to.
- String
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh
Token StringExpiration - How long refresh tokens remain valid before they expire.
- refresh
Token StringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh
Token BooleanRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- String
- The domain the session token cookie is restricted to.
- String
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session
Token StringExpiration - How long session tokens remain valid before they expire.
- session
Token StringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step
Up StringToken Expiration - How long step up tokens remain valid before they expire.
- trusted
Device StringToken Expiration - How long trusted device tokens remain valid before they expire.
- user
Jwt StringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- project
Id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- access
Key stringJwt Template - The ID of the JWT template used for access key session tokens.
- access
Key stringSession Token Expiration - How long access key session tokens remain valid before they expire.
- enable
Inactivity boolean - Whether to detect idle sessions and close them on behalf of the user.
- inactivity
Time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh
Token stringExpiration - How long refresh tokens remain valid before they expire.
- refresh
Token stringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh
Token booleanRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session
Token stringExpiration - How long session tokens remain valid before they expire.
- session
Token stringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step
Up stringToken Expiration - How long step up tokens remain valid before they expire.
- trusted
Device stringToken Expiration - How long trusted device tokens remain valid before they expire.
- user
Jwt stringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- project_
id str - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- access_
key_ strjwt_ template - The ID of the JWT template used for access key session tokens.
- access_
key_ strsession_ token_ expiration - How long access key session tokens remain valid before they expire.
- enable_
inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- inactivity_
time str - How long a session can be inactive before it's closed, when
enableInactivityis set. - str
- The domain the refresh token cookie is restricted to.
- str
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh_
token_ strexpiration - How long refresh tokens remain valid before they expire.
- refresh_
token_ strresponse_ method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh_
token_ boolrotation - Whether to rotate the refresh token every time it's used to refresh the session.
- str
- The domain the session token cookie is restricted to.
- str
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session_
token_ strexpiration - How long session tokens remain valid before they expire.
- session_
token_ strresponse_ method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step_
up_ strtoken_ expiration - How long step up tokens remain valid before they expire.
- trusted_
device_ strtoken_ expiration - How long trusted device tokens remain valid before they expire.
- user_
jwt_ strtemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- project
Id String - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- access
Key StringJwt Template - The ID of the JWT template used for access key session tokens.
- access
Key StringSession Token Expiration - How long access key session tokens remain valid before they expire.
- enable
Inactivity Boolean - Whether to detect idle sessions and close them on behalf of the user.
- inactivity
Time String - How long a session can be inactive before it's closed, when
enableInactivityis set. - String
- The domain the refresh token cookie is restricted to.
- String
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh
Token StringExpiration - How long refresh tokens remain valid before they expire.
- refresh
Token StringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh
Token BooleanRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- String
- The domain the session token cookie is restricted to.
- String
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session
Token StringExpiration - How long session tokens remain valid before they expire.
- session
Token StringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step
Up StringToken Expiration - How long step up tokens remain valid before they expire.
- trusted
Device StringToken Expiration - How long trusted device tokens remain valid before they expire.
- user
Jwt StringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
Outputs
All input properties are implicitly available as output properties. Additionally, the SessionSettings resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SessionSettings Resource
Get an existing SessionSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SessionSettingsState, opts?: CustomResourceOptions): SessionSettings@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_key_jwt_template: Optional[str] = None,
access_key_session_token_expiration: Optional[str] = None,
enable_inactivity: Optional[bool] = None,
inactivity_time: Optional[str] = None,
project_id: Optional[str] = None,
refresh_token_cookie_domain: Optional[str] = None,
refresh_token_cookie_policy: Optional[str] = None,
refresh_token_expiration: Optional[str] = None,
refresh_token_response_method: Optional[str] = None,
refresh_token_rotation: Optional[bool] = None,
session_token_cookie_domain: Optional[str] = None,
session_token_cookie_policy: Optional[str] = None,
session_token_expiration: Optional[str] = None,
session_token_response_method: Optional[str] = None,
step_up_token_expiration: Optional[str] = None,
trusted_device_token_expiration: Optional[str] = None,
user_jwt_template: Optional[str] = None) -> SessionSettingsfunc GetSessionSettings(ctx *Context, name string, id IDInput, state *SessionSettingsState, opts ...ResourceOption) (*SessionSettings, error)public static SessionSettings Get(string name, Input<string> id, SessionSettingsState? state, CustomResourceOptions? opts = null)public static SessionSettings get(String name, Output<String> id, SessionSettingsState state, CustomResourceOptions options)resources: existingSessionSettings: type: descope:SessionSettings get: id: ${id}import {
to = descope_session_settings.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state SessionSettingsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state SessionSettingsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state SessionSettingsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state SessionSettingsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Access
Key stringJwt Template - The ID of the JWT template used for access key session tokens.
- Access
Key stringSession Token Expiration - How long access key session tokens remain valid before they expire.
- Enable
Inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- Inactivity
Time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - Project
Id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - Refresh
Token stringExpiration - How long refresh tokens remain valid before they expire.
- Refresh
Token stringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Refresh
Token boolRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - Session
Token stringExpiration - How long session tokens remain valid before they expire.
- Session
Token stringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Step
Up stringToken Expiration - How long step up tokens remain valid before they expire.
- Trusted
Device stringToken Expiration - How long trusted device tokens remain valid before they expire.
- User
Jwt stringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- Access
Key stringJwt Template - The ID of the JWT template used for access key session tokens.
- Access
Key stringSession Token Expiration - How long access key session tokens remain valid before they expire.
- Enable
Inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- Inactivity
Time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - Project
Id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - Refresh
Token stringExpiration - How long refresh tokens remain valid before they expire.
- Refresh
Token stringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Refresh
Token boolRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - Session
Token stringExpiration - How long session tokens remain valid before they expire.
- Session
Token stringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - Step
Up stringToken Expiration - How long step up tokens remain valid before they expire.
- Trusted
Device stringToken Expiration - How long trusted device tokens remain valid before they expire.
- User
Jwt stringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- access_
key_ stringjwt_ template - The ID of the JWT template used for access key session tokens.
- access_
key_ stringsession_ token_ expiration - How long access key session tokens remain valid before they expire.
- enable_
inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- inactivity_
time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - project_
id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh_
token_ stringexpiration - How long refresh tokens remain valid before they expire.
- refresh_
token_ stringresponse_ method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh_
token_ boolrotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session_
token_ stringexpiration - How long session tokens remain valid before they expire.
- session_
token_ stringresponse_ method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step_
up_ stringtoken_ expiration - How long step up tokens remain valid before they expire.
- trusted_
device_ stringtoken_ expiration - How long trusted device tokens remain valid before they expire.
- user_
jwt_ stringtemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- access
Key StringJwt Template - The ID of the JWT template used for access key session tokens.
- access
Key StringSession Token Expiration - How long access key session tokens remain valid before they expire.
- enable
Inactivity Boolean - Whether to detect idle sessions and close them on behalf of the user.
- inactivity
Time String - How long a session can be inactive before it's closed, when
enableInactivityis set. - project
Id String - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- String
- The domain the refresh token cookie is restricted to.
- String
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh
Token StringExpiration - How long refresh tokens remain valid before they expire.
- refresh
Token StringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh
Token BooleanRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- String
- The domain the session token cookie is restricted to.
- String
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session
Token StringExpiration - How long session tokens remain valid before they expire.
- session
Token StringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step
Up StringToken Expiration - How long step up tokens remain valid before they expire.
- trusted
Device StringToken Expiration - How long trusted device tokens remain valid before they expire.
- user
Jwt StringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- access
Key stringJwt Template - The ID of the JWT template used for access key session tokens.
- access
Key stringSession Token Expiration - How long access key session tokens remain valid before they expire.
- enable
Inactivity boolean - Whether to detect idle sessions and close them on behalf of the user.
- inactivity
Time string - How long a session can be inactive before it's closed, when
enableInactivityis set. - project
Id string - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- string
- The domain the refresh token cookie is restricted to.
- string
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh
Token stringExpiration - How long refresh tokens remain valid before they expire.
- refresh
Token stringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh
Token booleanRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- string
- The domain the session token cookie is restricted to.
- string
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session
Token stringExpiration - How long session tokens remain valid before they expire.
- session
Token stringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step
Up stringToken Expiration - How long step up tokens remain valid before they expire.
- trusted
Device stringToken Expiration - How long trusted device tokens remain valid before they expire.
- user
Jwt stringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- access_
key_ strjwt_ template - The ID of the JWT template used for access key session tokens.
- access_
key_ strsession_ token_ expiration - How long access key session tokens remain valid before they expire.
- enable_
inactivity bool - Whether to detect idle sessions and close them on behalf of the user.
- inactivity_
time str - How long a session can be inactive before it's closed, when
enableInactivityis set. - project_
id str - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- str
- The domain the refresh token cookie is restricted to.
- str
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh_
token_ strexpiration - How long refresh tokens remain valid before they expire.
- refresh_
token_ strresponse_ method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh_
token_ boolrotation - Whether to rotate the refresh token every time it's used to refresh the session.
- str
- The domain the session token cookie is restricted to.
- str
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session_
token_ strexpiration - How long session tokens remain valid before they expire.
- session_
token_ strresponse_ method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step_
up_ strtoken_ expiration - How long step up tokens remain valid before they expire.
- trusted_
device_ strtoken_ expiration - How long trusted device tokens remain valid before they expire.
- user_
jwt_ strtemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
- access
Key StringJwt Template - The ID of the JWT template used for access key session tokens.
- access
Key StringSession Token Expiration - How long access key session tokens remain valid before they expire.
- enable
Inactivity Boolean - Whether to detect idle sessions and close them on behalf of the user.
- inactivity
Time String - How long a session can be inactive before it's closed, when
enableInactivityis set. - project
Id String - The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
- String
- The domain the refresh token cookie is restricted to.
- String
- The SameSite cookie policy for the refresh token cookie, either
strict,laxornone. - refresh
Token StringExpiration - How long refresh tokens remain valid before they expire.
- refresh
Token StringResponse Method - How refresh tokens are managed by the Descope SDKs, either
responseBodyorcookies. - refresh
Token BooleanRotation - Whether to rotate the refresh token every time it's used to refresh the session.
- String
- The domain the session token cookie is restricted to.
- String
- The SameSite cookie policy for the session token cookie, either
strict,laxornone. - session
Token StringExpiration - How long session tokens remain valid before they expire.
- session
Token StringResponse Method - How session tokens are managed by the Descope SDKs, either
responseBodyorcookies. - step
Up StringToken Expiration - How long step up tokens remain valid before they expire.
- trusted
Device StringToken Expiration - How long trusted device tokens remain valid before they expire.
- user
Jwt StringTemplate - The ID of the JWT template used for user session tokens (e.g.
descope_jwt_template.example.id).
Package Details
- Repository
- descope descope/pulumi-descope
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
descopeTerraform Provider.
published on Sunday, Oct 11, 2026 by Descope