# What's next for vaults

> The vault capabilities on the way, from machine access for apps and agents to your own secrets manager reached through the realm, and what to use until each one arrives.

These vault capabilities are planned. None of them is available yet; each says what to use today.

## Machine access

Apps, services and agents will reach the secrets granted to them under their own identity, not a user's. A realm
administrator, or a secret's owner, will grant a machine `use` on chosen secrets, for chosen actions and until a set
time, the same way a user is granted access today. The machine signs in with its own credentials, reads only what it
was granted, and every read is recorded under the machine's name, so you can tell a deploy pipeline's read from a
person's.

How it will be used:

- A service reads its database password at start-up, under its own identity, with a `use` grant on that one secret.
- An agent reads an API key for the duration of a task, with a grant that ends when the task should.
- Taking a machine's grant back, or disabling the machine, ends its access at its next request.

**What to use today:** create a dedicated user for the machine, such as `svc-deploy`, and give that user `use`
[grants](/secrets-store/sharing/grants/) on just the secrets it needs, with an end time. The script signs in as that
user ([Call the API](/develop/api/)) and reads with its session. Keep the user's sign-in credentials in your
platform's own secret store, give the user no groups it doesn't need, and take its grants back with
[Offboard someone](/secrets-store/guides/offboard-someone/) when the machine is retired. Reads are recorded under that
user.

## A user's first vault kind

A realm setting, `personalDefault`, for whether a user's first vault is sealed or managed, so a realm that wants its
users' secrets kept from the realm itself can make sealed vaults the starting point. It can be set today, but nothing
reads it: every user's first vault is managed.

**What to use today:** leave it unset. Every user's personal vault is a managed vault; see
[Vaults](/secrets-store/vaults/).

## Your own secrets manager, through the realm

Secrets kept in a secrets manager your organization already runs, reached by your users and agents under the realm's
identity and policy, with each read on the realm's audit trail. Users and agents sign in to the realm once, and the
realm reaches your secrets manager on their behalf, so no one needs a separate credential for it.

**What to use today:** the store serves only its own vaults. Move a secret in by reading it from the other manager
and writing it into one of the store's [Vaults](/secrets-store/vaults/).
