Secrets

Update app secrets belonging to an app

Changed on

Running Machines don't pick up the change on their own: create or update Machines with min_secrets_version set to the returned version for them to see it.

post/v1/apps/{app_name}/secrets

Request

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

Path parameters

app_namestring required

Fly App Name

Request body

valuesobject

Response

OK

Versioninteger

DEPRECATED

versioninteger

The app's secrets version after this change. Pass it as min_secrets_version when creating or updating Machines so that they are guaranteed to see the change.

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