Secrets

Decrypt with a secret key

Changed on
post/v1/apps/{app_name}/secretkeys/{secret_name}/decrypt

Request

  • Base URL
    https://api.machines.dev
  • URL
    https://api.machines.dev/v1/apps/{app_name}/secretkeys/{secret_name}/decrypt
  • Auth
    HTTP bearer

Path parameters

app_namestring required

Fly App Name

secret_namestring required

Secret key name

Query parameters

min_versionstring

Minimum secrets version to return. Returned when setting a new secret

Request body

associated_datainteger[]
ciphertextinteger[]

Response

OK

plaintextinteger[]

Changes

    • warning

      added the new volume_placement_capacity enum value to the response property for the response status

    • warning

      added the new name_taken enum value to the response property for the response status