---
title: "test connection to AWS Secrets Manager"
method: POST
path: "/settings/test_aws_sm_backend"
tags: ["setting"]
---

# test connection to AWS Secrets Manager

`POST /settings/test_aws_sm_backend`

## Request body

- AwsSecretsManagerSettings
  - `region` string, required — AWS region (e.g., us-east-1)
  - `access_key_id` string — AWS Access Key ID (optional, uses default credential chain if not provided)
  - `secret_access_key` string — AWS Secret Access Key (optional)
  - `endpoint_url` string — Custom endpoint URL for testing (e.g., LocalStack)
  - `prefix` string — Prefix for secret names (e.g., windmill/)

## Response `200`

connection test result

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/964225251155/schema)
