ApiSecret
Detailed information about an API secret, including its secret and its scope
idinteger<int32>required
The entity identifier
Possible values: >= 0
Example:
123creationDateinteger<int64>required
The entity creation date
Example:
1761384334302namestringrequired
The entity name
Possible values: non-empty and <= 128 characters
Example:
My entity namecommentstring
The entity comment
Possible values: non-empty and <= 1024 characters
Example:
My comment on the entitytypeApiSecretTyperequired
The secret type
Possible values: [key, token]
Example:
keyexpirationDateinteger<int64>
The entity expiration date
Example:
1761385316688scopestring
The secret scope
Possible values: non-empty and <= 64 characters
Example:
image:read,repository:readvaluestringrequired
The secret value
Possible values: non-empty and <= 64 characters
Example:
Z&Q78&fqkPqApiSecret
{
"id": 123,
"creationDate": 1761384334302,
"name": "My entity name",
"comment": "My comment on the entity",
"type": "key",
"expirationDate": 1761385316688,
"scope": "image:read,repository:read",
"value": "Z&Q78&fqkPq"
}