File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2575,6 +2575,9 @@ type OrganizationSecuritySettings struct {
25752575
25762576 // MaxLoginSessionDuration: maximum duration a login session will stay active before needing to relogin.
25772577 MaxLoginSessionDuration * scw.Duration `json:"max_login_session_duration"`
2578+
2579+ // MaxAPIKeyExpirationDuration: maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration.
2580+ MaxAPIKeyExpirationDuration * scw.Duration `json:"max_api_key_expiration_duration"`
25782581}
25792582
25802583// ParseSamlMetadataRequest: parse saml metadata request.
@@ -2748,6 +2751,9 @@ type UpdateOrganizationSecuritySettingsRequest struct {
27482751
27492752 // MaxLoginSessionDuration: maximum duration a login session will stay active before needing to relogin.
27502753 MaxLoginSessionDuration * scw.Duration `json:"max_login_session_duration,omitempty"`
2754+
2755+ // MaxAPIKeyExpirationDuration: maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration.
2756+ MaxAPIKeyExpirationDuration * scw.Duration `json:"max_api_key_expiration_duration,omitempty"`
27512757}
27522758
27532759// UpdatePolicyRequest: update policy request.
You can’t perform that action at this time.
0 commit comments