Amazon Secrets Manager · Schema
PutResourcePolicyRequest
Amazon Web ServicesConfigurationCredentialsRotationSecretsSecurity
Properties
| Name | Type | Description |
|---|---|---|
| SecretId | string | The ARN or name of the secret to attach the resource-based policy. For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN. |
| ResourcePolicy | string | A JSON-formatted string for an Amazon Web Services resource-based policy. For example policies, see Permissions policy examples. |
| BlockPublicPolicy | boolean | Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal. By default, public policies aren't blocked. Resource |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-secrets-manager/json-schema/amazon-secrets-manager-put-resource-policy-request-schema.json",
"title": "PutResourcePolicyRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-secrets-manager-resource-policy-api-openapi.yml#/components/schemas/PutResourcePolicyRequest",
"type": "object",
"properties": {
"SecretId": {
"type": "string",
"description": "The ARN or name of the secret to attach the resource-based policy. For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN."
},
"ResourcePolicy": {
"type": "string",
"description": "A JSON-formatted string for an Amazon Web Services resource-based policy. For example policies, see Permissions policy examples."
},
"BlockPublicPolicy": {
"type": "boolean",
"description": "Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal. By default, public policies aren't blocked. Resource policy validation and the BlockPublicPolicy parameter help protect your resources by preventing public access from being granted through the resource policies that are directly attached to your secrets. In addition to using these features, carefully inspect the following policies to confirm that they do not grant public access: Identity-based policies attached to associated Amazon Web Services pri"
}
},
"required": [
"SecretId",
"ResourcePolicy"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-secrets-manager-put-resource-policy-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.