Credentials
Credential management operations
Lists all credentials, optionally filtered by user_id or type
Authentication token obtained from the authentication service
Filter by user ID
Filter by credential type
A valid authentication token
Credentials listed successfully
Some content in the request was invalid
User must authenticate before making a request
Policy does not allow current user to do this operation
GET /v3/credentials HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
"credentials": [
{
"id": "text",
"user_id": "text",
"project_id": "text",
"type": "text",
"blob": "text",
"links": {
"self": "text",
"previous": "text",
"next": "text"
}
}
],
"links": {
"self": "text",
"previous": "text",
"next": "text"
}
}Creates a credential
Authentication token obtained from the authentication service
A valid authentication token
Credential created successfully
Some content in the request was invalid
User must authenticate before making a request
Policy does not allow current user to do this operation
The requested resource could not be found
This operation conflicted with another operation on this resource
POST /v3/credentials HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"credential": {
"user_id": "text",
"project_id": "text",
"type": "text",
"blob": "text"
}
}{
"credential": {
"id": "text",
"user_id": "text",
"project_id": "text",
"type": "text",
"blob": "text",
"links": {
"self": "text",
"previous": "text",
"next": "text"
}
}
}Shows details for a credential
Authentication token obtained from the authentication service
The credential ID
A valid authentication token
Credential details retrieved successfully
Some content in the request was invalid
User must authenticate before making a request
Policy does not allow current user to do this operation
The requested resource could not be found
GET /v3/credentials/{credential_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
"credential": {
"id": "text",
"user_id": "text",
"project_id": "text",
"type": "text",
"blob": "text",
"links": {
"self": "text",
"previous": "text",
"next": "text"
}
}
}Deletes a credential
Authentication token obtained from the authentication service
The credential ID
A valid authentication token
Credential deleted successfully
Some content in the request was invalid
User must authenticate before making a request
Policy does not allow current user to do this operation
The requested resource could not be found
This operation conflicted with another operation on this resource
DELETE /v3/credentials/{credential_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
No content
Updates a credential
Authentication token obtained from the authentication service
The credential ID
A valid authentication token
Credential updated successfully
Some content in the request was invalid
User must authenticate before making a request
Policy does not allow current user to do this operation
The requested resource could not be found
This operation conflicted with another operation on this resource
PATCH /v3/credentials/{credential_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"credential": {
"user_id": "text",
"project_id": "text",
"type": "text",
"blob": "text"
}
}{
"credential": {
"id": "text",
"user_id": "text",
"project_id": "text",
"type": "text",
"blob": "text",
"links": {
"self": "text",
"previous": "text",
"next": "text"
}
}
}Last updated
Was this helpful?
