setting

migrate secrets from database to AWS Secrets Manager

post/settings/migrate_secrets_to_aws_sm

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/settings/migrate_secrets_to_aws_sm
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

regionstring required

AWS region (e.g., us-east-1)

access_key_idstring

AWS Access Key ID (optional, uses default credential chain if not provided)

secret_access_keystring

AWS Secret Access Key (optional)

endpoint_urlstring

Custom endpoint URL for testing (e.g., LocalStack)

prefixstring

Prefix for secret names (e.g., windmill/)

Response

migration report

total_secretsinteger required

Total number of secrets found

migrated_countinteger required

Number of secrets successfully migrated

failed_countinteger required

Number of secrets that failed to migrate

Changes

No recorded changes to this operation across all 293 revisions of this API.