> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly secrets

Secrets are provided to applications at runtime as ENV variables. Names are
case sensitive and stored as-is, so ensure names are appropriate for
the application and vm environment.

## Usage

```
fly secrets [command] [flags]
```

## Available Commands

* [deploy](/flyctl/cmd/fly_secrets_deploy)	 - Deploy staged secrets for an application
* [import](/flyctl/cmd/fly_secrets_import)	 - Set secrets as NAME=VALUE pairs from stdin
* [list](/flyctl/cmd/fly_secrets_list)	 - List application secret names, digests and deployment status
* [set](/flyctl/cmd/fly_secrets_set)	 - Set one or more encrypted secrets for an application
* [sync](/flyctl/cmd/fly_secrets_sync)	 - Sync flyctl with the latest versions of app secrets, even if they were set elsewhere
* [unset](/flyctl/cmd/fly_secrets_unset)	 - Unset one or more encrypted secrets for an application

## Options

```
  -h, --help   help for secrets
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly](/flyctl/cmd/fly_help)	 - The Fly.io command line interface
