Secrets

Create or update a secret key

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

Request

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

Path parameters

app_namestring required

Fly App Name

secret_namestring required

Secret key name

Request body

typestring
valueinteger[]

Response

Created

Versioninteger

DEPRECATED

created_atstring
namestring
public_keyinteger[]
typestring
updated_atstring
versioninteger

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