Access keys provide programmatic access to vault data through Secryn’s API. They are always scoped to a single vault and are intended for automation, integrations, and non-interactive workflows.
An access key is a read-only credential for one vault. When paired with that vault's ID, it lets a client read resources from that vault. Access keys:
GET and HEAD only on the vault API)Each access key belongs to exactly one vault. Project-level permissions and restricted vault rules do not apply—if the key is valid, access is granted only within that vault. This makes access keys suitable for external integrations where fine-grained project permissions are not desired.
Using an access key, clients can:
Responses always reflect the current active state of the resource.
API calls include:
Authorization: Bearer headerQuery parameters such as include, resource, and secrets select the response. They do not authenticate the caller, and the access key is not accepted as a query parameter. Missing or invalid credentials return 401. Access keys do not represent users and do not create user sessions.
APP_KEY (a legacy plaintext access_key column is still accepted when a row still has one)Revoke and replace a key immediately if compromise is suspected.
Rotation does not modify stored resources.
| Feature | Access Keys | Public URLs |
|---|---|---|
| Authentication | Required | Not required |
| Scope | Entire vault | Single resource |
| Supported resources | Secrets, keys, certificates | Keys, certificates only |
| Mutability | Read-only | Read-only |
| Revocable | Yes | Yes |
Use access keys when multiple resources or secrets must be accessed. Use public URLs only when a single key or certificate needs to be shared without authentication.
Access keys are the primary mechanism for secure, automated access to vault data in Secryn, providing a predictable integration model without exposing user credentials.