Managed
Managed Credential View
https://api.linode.com/v4/managed/credentials/{credentialId}
Returns a single Managed Credential.
This command can only be accessed by the unrestricted users of an account.
Path Parameters
The ID of the Credential to access.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/managed/credentials/9991
Response Samples
- 200
- default
{
"id": 1234,
"label": "prod-password-1",
"last_decrypted": "2018-01-01T00:01:01"
}
Responses
200: The requested Managed Credential.
This Credential's unique ID.
The unique label for this Credential. This is for display purposes only.
The date this Credential was last decrypted by a member of Linode special forces.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.
Managed Credential Update
https://api.linode.com/v4/managed/credentials/{credentialId}
Updates the label of a Managed Credential. This endpoint does not update the username and password for a Managed Credential. To do this, use the Managed Credential Username and Password Update (POST /managed/credentials/{credentialId}/update) endpoint instead. This command can only be accessed by the unrestricted users of an account.
Path Parameters
The ID of the Credential to access.
Request Body Schema
The unique label for this Credential. This is for display purposes only.
Request Samples
- Shell
- CLI
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-X PUT -d '{
"label": "prod-password-1"
}' \
https://api.linode.com/v4/managed/credentials/9991
Response Samples
- 200
- default
{
"id": 1234,
"label": "prod-password-1",
"last_decrypted": "2018-01-01T00:01:01"
}
Responses
200: Credential updated successfully.
This Credential's unique ID.
The unique label for this Credential. This is for display purposes only.
The date this Credential was last decrypted by a member of Linode special forces.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.