Update an existing service account
Update an existing service account
Service account to update
|
name
string
requiredInternal name for the service account |
|
trustConfig
object (Static JWKS) | object (Dynamic JWKS)
required
Information about how to trust the token for this service account |
|
validationRules
array of string
requiredList of rules to apply on top of signature verification for the incoming JWT to be trusted |
|
permissions
array of objects (Permission)
required
List of permissions to apply for successfully validated JWTs |
|
roles
array of string
requiredList of roles to apply for successfully validated JWTs |
|
iatFutureRestriction
string
Maximum duration in the future the JWT iat claim is allowed to be. Must be set together with iatPastRestriction. |
|
iatPastRestriction
string
Maximum duration in the past the JWT iat claim is allowed to be. Must be set together with iatFutureRestriction. |
|
jwtAllowedClockSkew
string
Allowed clock skew when validating JWT time-based claims. |
|
identifierMapping
string
Template string used to compute the identifier of the principal authenticated by this service account. |
-
200 The updated service account
readonlyboolean requiredIf true, this object was externally provisioned and cannot be edited
namestring requiredInternal name for the service account
trustConfigobject (Static JWKS) | object (Dynamic JWKS) requiredInformation about how to trust the token for this service account
validationRulesarray of string requiredList of rules to apply on top of signature verification for the incoming JWT to be trusted
permissionsarray of objects (Permission) requiredList of permissions to apply for successfully validated JWTs
rolesarray of string requiredList of roles to apply for successfully validated JWTs
_idstring (Internal ID)Object internal ID
iatFutureRestrictionstringMaximum duration in the future the JWT iat claim is allowed to be. Must be set together with iatPastRestriction.
iatPastRestrictionstringMaximum duration in the past the JWT iat claim is allowed to be. Must be set together with iatFutureRestriction.
jwtAllowedClockSkewstringAllowed clock skew when validating JWT time-based claims.
identifierMappingstringTemplate string used to compute the identifier of the principal authenticated by this service account.
-
400 Unable to update service account
-
401 Authentication error
-
403 Forbidden action
-
404 Service account not found
-
500 Unexpected internal server error