Credentials

Stores credentials

Changed on

Encrypts and stores credentials for an origin

post/v1/credentials

Request

  • Base URL
    https://api.steel.dev
  • URL
    https://api.steel.dev/v1/credentials
  • Auth
    • API key in header steel-api-key
    • or none

Request body

labelstring

Label for the credential

namespacestring

The namespace the credential is stored against. Defaults to "default".

originstring

Website origin the credential is for

projectIdstring uuid

Project to store the credential in.

valueobject required

Value for the credential

Response

Default Response

createdAtstring date-time required

Date and time the credential was created

labelstring

Label for the credential

namespacestring

The namespace the credential is stored against. Defaults to "default".

originstring

Website origin the credential is for

updatedAtstring date-time required

Date and time the credential was last updated

Changes

    • breaking

      request body became required

    • breaking

      removed the success response with the status

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status