CipherStashDocs
ReferenceAuth

Auth

Authentication and credential reference for local development, production services, and identity-bound encryption.

CipherStash separates the credentials used by developers, deployed services, and signed-in end users. Choose the mechanism that matches who is performing the cryptographic operation.

ContextAuthenticationUse it for
Local developmentDevice session created by stash initPer-developer access without shared environment variables
Production and CIApplication client key plus access keyNon-interactive SDK and Proxy deployments
Signed-in end userOIDC federationIdentity-bound encryption and user-attributed key derivation

In this section

  • Access keys authenticate programmatic requests to CipherStash services and define their service-level permissions.
  • Client keys supply the client-held half of the ZeroKMS key split and scope access to keysets.
  • OIDC providers register an identity provider for end-user federation.

For the four environment variables used by deployed applications, see workspace configuration. For the cryptographic effect of binding a value to an identity claim, see provable access control.

On this page