CONSOLE

Apps

A Phase App is used to manage Secrets for a single project, repository, or application. An App can contain multiple Environments. Users can be added to or removed from an App to manage access.

Create an App

Create an App by clicking the "+" button on the Apps screen. Enter a name for your App and your sudo password if prompted. You can also optionally choose to initialize your App with example secrets. This option is automatically selected for your first App.

create app

App Readme

Each App can have a readme that serves as a space for developer documentation, runbooks, onboarding notes, or any other relevant information. The readme is opened with the "README" button at the top of the App, next to "One-click Access", and supports full markdown rendering, including headings, lists, links, code blocks, and blockquotes.

README button at the top of an App

Click the button to open the readme in a dialog.

expanded app readme with markdown rendering

Editing the readme

To edit a readme, click "Edit" in the readme dialog, or go to the App's Settings tab. The editor supports a Write and Preview toggle so you can author Markdown and preview the rendered output before saving. If an App does not have a readme yet, the button at the top of the App reads "Add README" instead.

app readme editor in settings

Secrets

The Home tab of an App shows all of its Secrets across all Environments in a single editor, with a column for each Environment. You can focus on a specific Environment by clicking the Environment name in the column headers. Secrets can be created, updated, and deleted in any Environment right here, and all of your changes are deployed together. See Secrets for a full guide.

app secrets

One-click secret access

The Phase Console has a "One-click access" menu in the top right of the screen when inside of an App. Open this menu and click to copy a one-liner for either the CLI or REST API to fetch secrets from the current environment and path based on the context (this defaults to the first environment that is shown in the secrets editor and the folder you are currently viewing). The ability to access secrets over the REST API requires an SSE (Server-Side Encryption) enabled App.

One-click access menu inside an App

Here's a quick demo of how it works:

A temporary Personal Access Token (PAT) is automatically generated and copied to your clipboard to authenticate the request. This is ideal for quickly fetching secrets either in your dev environment or in a shell session on a remote machine.

You may modify the one-liners to best suit your needs by injecting, exporting, or parsing the secrets via the CLI or over the REST API with curl. You may also run follow-up commands as the one-liners set the Personal Access Token as the PHASE_TOKEN environment variable, and the token is valid for 5 minutes.

Access

Add a service account to an App

You can add a Service Account to any App from the respective App's "Access" tab.

  1. Click "Service accounts" on the left, and then "Add service account"
Add service account to app
  1. Select the service account from the list of accounts. Next, select the Environments that this account should have access to. Once you have selected the account and scope, click "Add"
Add service account to app
  1. The account will now have access to the Environments you selected. You can always update the Environment scope for this account or remove it from the App entirely.
Add service account to app

Add a member to an App

You can add a new user to any App from the respective App's "Access" tab. To add a member to an App, click the "+ Add a member" button. Select an Organization member from the dropdown list, select which Environments to grant them access to, and click "Add".

app member add

app member add

Update Environment access for a member

To update the Environments that a specific user can access, click the "Manage user access" button. Update the Environment selection and click "Save".

app member manage access

Remove a member from an App

To remove a member from an App, click the "Remove member" button.

Remove a member from an App

Syncing

Phase offers the ability to automatically sync secrets to various third-party platforms and services. This feature enables seamless deployment of secrets to services like GitHub Actions, Railway, AWS Secrets Manager, and HashiCorp Nomad.

Requirements for Syncing

  1. Server-Side Encryption (SSE) must be enabled for the App to use secret syncing integrations. This allows Phase to securely manage and deploy secrets to external services.
  2. Appropriate permissions and access tokens for the target service must be configured.
SSE must be enabled before syncing

Setting Up a Sync

To set up a new sync:

  1. Navigate to the "Syncing" tab in your App.
  2. Click on "Create a new sync" and select the desired service.
  3. Follow the prompts to configure the sync, including selecting the Environment and the Path to sync secrets from.
secret syncing

Choosing a source path

A sync reads secrets from one folder in the chosen Environment. Click the Path field to see every folder in that Environment, along with how many folders and secrets are directly inside each one. The list follows the Environment selected above it, so pick the Environment first.

Choose a folder to sync from

Start typing to filter the folders by name or path. What you typed is always first in the list, so pressing Enter uses that path exactly as typed, even if it doesn't have a folder yet. To choose a folder instead, move to it with the arrow keys and then press Enter. Pressing Tab or clicking outside the field also keeps what you typed.

Filter folders by typing

Once a path is chosen, a summary below the field shows how many secrets the sync will send. Click View folder to open that folder in a new tab and check its secrets without leaving the sync setup. You can also open any folder from the list with the link icon next to it.

Summary of the secrets that will be synced

Syncing allows Phase to keep your secrets up-to-date across different platforms automatically. This ensures consistency and reduces manual secret management tasks.

Click Manage on a sync card to view its sync history, trigger a sync manually, pause automatic syncing or update the credentials it uses.

Manage sync dialog
Sync history

Logs

This screen shows you audit logs for all CRUD events for all Secrets and Environments in this App. You can expand a specific log event to view more information.

app logs

Settings

This screen shows you metadata for the App and allows you to perform administrative tasks such as changing the encryption mode of the App or deleting it.

App settings tab

Encryption

Phase Apps are secured with end-to-end encryption (E2EE) by default. This means only users who are granted access to the App and its Environments can decrypt the secrets that are stored within it. However, to use certain features of Phase such as third-party integrations or the public REST API, you will need to enable server-side encryption (SSE). Enabling SSE will store a copy of each Environment's root key on the server, encrypted with the server's encryption key. This allows the server to decrypt secrets for syncing with third parties or to make them available over the API.

Enabling SSE

To enable SSE for an App, click the "Enable SSE" button under the "Encryption" section of the App Settings tab.

enable sse button

Click "Enable" on the confirmation dialog:

enable sse dialog

Once enabled, the settings page will show you the updated Encryption mode:

sse enabled

Delete an App

Deleting an App locks it at once. After 24 hours, Phase permanently deletes the App and all of its Environments and Secrets. Until then, you can restore it. You can also delete it immediately.

You need permission to delete Apps. See Roles.

To delete an App:

  1. Open the App's Settings tab, scroll down to the Danger Zone and click Delete.
    Delete button in the App settings
  2. The dialog shows when the App will be deleted. Type the App name to confirm, then click Schedule for deletion.
    Delete an App confirmation dialog

Scheduled for Deletion

For the next 24 hours, the App is locked:

  • It leaves your list of Apps. It shows under Scheduled for deletion at the bottom of the Apps screen, with its deletion time.
  • Its Environments and Secrets can't be read or changed from the Console, the CLI, the API or the SDKs.
  • Its secret syncs and secret rotations pause.
App scheduled for deletion on the Apps screen

Restore an App

To restore an App, click Restore next to it under Scheduled for deletion. Anyone who can delete the App can restore it.

After a restore, the App works as before, and its paused syncs and rotations resume.

Delete an App Immediately

To skip the 24 hours, tick Delete immediately in the dialog. The button changes to Delete now. Phase starts deleting the App right away, and it can't be restored.

Delete an App immediately

For an App that is already scheduled for deletion, click Delete now next to it under Scheduled for deletion.

The App shows as Being deleted until it is gone. This usually takes a few seconds, and longer for an App with a lot of logs.

Permanent Deletion

When the 24 hours are up, or right away if you delete immediately, Phase:

  • Revokes active dynamic secret leases and rotating secret credentials at the provider.
  • Stops the App's syncs. Secrets already synced to other services stay there.
  • Deletes the App and all of its data: Environments, Secrets, secret history and the App's logs. The organisation's audit logs keep a record of the deletion.
  • Emails the organisation's Owners, and the member who deleted the App, to confirm the deletion.

Delayed Deletion

If a lease or credential can't be revoked, Phase deletes nothing, emails the same people and tries again every hour, so a temporary problem at the provider resolves itself. Meanwhile the App shows Deletion delayed.

While its deletion is delayed, the App can still be restored, even after the 24 hours or after an immediate deletion. If Phase no longer has access to the provider, give it access again, for example by updating its third-party credentials.

In rare cases the delay comes after Phase has started deleting the App's data. The App can then no longer be restored, and the email says so.

Self-hosting

Permanent deletion of Apps and Environments runs on the maintenance queue, as organisation deletion does. Without a worker for that queue, deleted Apps and Environments stay locked and are never deleted.