Skip to main content
List credentials associated with a target.

GET /:target/:target_id/credentials

Path Parameters

ParameterTypeRequiredDescription
targetstringYesResource type: users, orgs, or blobs.
target_idstringYesThe unique ID of the target resource.

Response

ParameterTypeDescription
credentialsarrayList of credential objects.

Example

curl -X GET https://api.blobhub.io/v1/users/user_123/credentials
{
  "credentials": [
    {
      "id": "cred_001",
      "alias": "aws-prod",
      "type": "aws"
    }
  ]
}