Skip to main content
GET
Get an app secret

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

app_name
string
required

Fly App Name

secret_name
string
required

App secret name

Query Parameters

min_version
string

Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.

show_secrets
boolean

Include the secret value. Only allowed when the request comes from a Machine of the app; otherwise the request fails with 403.

Response

OK

created_at
string

When the secret was first set. Only returned when reading secrets.

digest
string

Short fingerprint of the value, to tell whether it changed without revealing it. Omitted for deleted secrets.

name
string

Name of the secret.

updated_at
string

When the secret's value last changed. Only returned when reading secrets.

value
string

Value of the secret. Only returned with show_secrets=true, and when setting secrets.