Update an existing credential
Update an existing credential
The credential to update
type
string
requiredThe type of these credentials
Value
raw
|
||
secret
object (Secret String)
required
The raw secret (JSON or otherwise) |
||
|
||
name
string
requiredName of the credentials |
||
target
string
requiredThe targeted objects for these credentials
Enum
akv
aws
gcp
ldap
openid
ssh
rest
stream
|
||
description
string | null
A description of the credentials |
||
expires
string | null
The expiration date of these credentials |
||
triggers
object | null (TriggersCredentials)
|
||
|
type
string
requiredThe type of these credentials
Value
password
|
||
login
string
requiredThe login of these credentials |
||
password
object (Secret String)
required
The password of these credentials |
||
|
||
name
string
requiredName of the credentials |
||
target
string
requiredThe targeted objects for these credentials
Enum
akv
aws
gcp
ldap
openid
ssh
rest
stream
|
||
description
string | null
A description of the credentials |
||
expires
string | null
The expiration date of these credentials |
||
triggers
object | null (TriggersCredentials)
|
||
|
type
string
requiredThe type of these credentials
Value
x509
|
||
store
object (Secret String)
required
The PKCS#12 certificate |
||
|
||
name
string
requiredName of the credentials |
||
target
string
requiredThe targeted objects for these credentials
Enum
akv
aws
gcp
ldap
openid
ssh
rest
stream
|
||
description
string | null
A description of the credentials |
||
expires
string | null
The expiration date of these credentials |
||
triggers
object | null (TriggersCredentials)
|
||
|
type
string
requiredThe type of these credentials
Value
ssh
|
||
login
string
requiredThe SSH login |
||
key
object (Secret String)
required
The SSH key |
||
|
||
name
string
requiredName of the credentials |
||
target
string
requiredThe targeted objects for these credentials
Enum
akv
aws
gcp
ldap
openid
ssh
rest
stream
|
||
description
string | null
A description of the credentials |
||
expires
string | null
The expiration date of these credentials |
||
triggers
object | null (TriggersCredentials)
|
||
|
-
200 Credential successfully updated
application/jsontypestring requiredThe type of these credentials
Valueraw
secretobject (Secret String) requiredThe raw secret (JSON or otherwise)
clearstring | nullThe clear value of the secret
namestring requiredName of the credentials
targetstring requiredThe targeted objects for these credentials
Enumakv
aws
gcp
ldap
openid
ssh
rest
stream
descriptionstring | nullA description of the credentials
expiresstring | nullThe expiration date of these credentials
triggersobject | null (TriggersCredentials)onCredentialsExpirationarray of stringNotifications to execute on credentials expiration
typestring requiredThe type of these credentials
Valuepassword
loginstring requiredThe login of these credentials
passwordobject (Secret String) requiredThe password of these credentials
clearstring | nullThe clear value of the secret
namestring requiredName of the credentials
targetstring requiredThe targeted objects for these credentials
Enumakv
aws
gcp
ldap
openid
ssh
rest
stream
descriptionstring | nullA description of the credentials
expiresstring | nullThe expiration date of these credentials
triggersobject | null (TriggersCredentials)onCredentialsExpirationarray of stringNotifications to execute on credentials expiration
typestring requiredThe type of these credentials
Valuex509
storeobject (Secret String) requiredThe PKCS#12 certificate
clearstring | nullThe clear value of the secret
namestring requiredName of the credentials
targetstring requiredThe targeted objects for these credentials
Enumakv
aws
gcp
ldap
openid
ssh
rest
stream
descriptionstring | nullA description of the credentials
expiresstring | nullThe expiration date of these credentials
triggersobject | null (TriggersCredentials)onCredentialsExpirationarray of stringNotifications to execute on credentials expiration
typestring requiredThe type of these credentials
Valuessh
loginstring requiredThe SSH login
keyobject (Secret String) requiredThe SSH key
clearstring | nullThe clear value of the secret
namestring requiredName of the credentials
targetstring requiredThe targeted objects for these credentials
Enumakv
aws
gcp
ldap
openid
ssh
rest
stream
descriptionstring | nullA description of the credentials
expiresstring | nullThe expiration date of these credentials
triggersobject | null (TriggersCredentials)onCredentialsExpirationarray of stringNotifications to execute on credentials expiration
-
400 Bad Request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueCREDENTIALS-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Credentials
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Credentials
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
401 Unauthorized request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or principal does not exist
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal does not exist
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trusted
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusted
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revoked
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revoked
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-009
messagestring requiredA short, human-readable summary of the problem type
ValueAuthentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueAuthentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-010
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/problem+jsonerrorstring requiredThe error code of the problem
ValueLIC-001
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-002
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-PERM-001
messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privileges
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privileges
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
404 Not Found
application/problem+jsonerrorstring requiredThe error code of the problem
ValueCREDENTIALS-003
messagestring requiredA short, human-readable summary of the problem type
ValueCredentials not found
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCredentials not found
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/problem+jsonerrorstring requiredThe error code of the problem
ValueCREDENTIALS-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807