Create Storage Credential
Creates a Storage Credential. You can add as many Storage Credentials as you like to a Storage instance. We will choose the Storage Credential with the longest expiry time when we need to access the Storage instance. Credentials are immutable once created - but you can create a new Storage Credential record, then delete the old one.
RBAC Capability Required: infra.storagetoken.create
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
project_name
storage_name
Request
This endpoint expects an object.
spec
The specification of the credential.
Response
Create a Storage instance Credential.
metadata
Metadata about the credential.
spec
The specification of the credential.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error