Secret Sharing

Access a shared secret by its ID. If the secret is password protected, you must provide the password in the request body. Returns the secret value if access is granted, or an error if access is denied. The endpoint requires authentication if the shared secret is scoped to an organization.

post/api/v1/shared-secrets/{id}/access

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/shared-secrets/{id}/access
  • Auth
    none declared

Path parameters

idstring required

The ID of the shared secret to access.

Request body

passwordstring

The password for accessing a password-protected shared secret. Only required if the secret is password protected.

Response

Default Response

idstring required
expiresAtstring date-time required
userIdstring uuid nullable
orgIdstring uuid nullable
createdAtstring date-time required
updatedAtstring date-time required
expiresAfterViewsnumber nullable
accessTypestring
namestring nullable
lastViewedAtstring date-time nullable
typestring
authorizedEmailsunknown
identityIdstring uuid nullable
allowExternalEmailsboolean nullable
orgNamestring
secretValuestring

Changes

No recorded changes to this operation across all 65 revisions of this API.