{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-secrets-manager/refs/heads/main/json-schema/amazon-secrets-manager-secret-schema.json", "title": "Secret", "description": "Secret schema from Amazon Secrets Manager API", "type": "object", "properties": { "ARN": { "type": "string", "description": "The ARN of the secret." }, "Name": { "type": "string", "description": "The friendly name of the secret." }, "Description": { "type": "string", "description": "The description of the secret." }, "KmsKeyId": { "type": "string", "description": "The ARN of the KMS key used to encrypt the secret." }, "RotationEnabled": { "type": "boolean", "description": "Whether rotation is enabled for this secret." }, "RotationLambdaARN": { "type": "string", "description": "The ARN of the Lambda function that rotates the secret." }, "RotationRules": { "$ref": "#/components/schemas/RotationRules" }, "LastRotatedDate": { "type": "string", "format": "date-time", "description": "The most recent date and time that rotation was triggered." }, "LastChangedDate": { "type": "string", "format": "date-time", "description": "The last date and time that this secret was modified." }, "LastAccessedDate": { "type": "string", "format": "date-time", "description": "The last date that this secret was accessed." }, "DeletedDate": { "type": "string", "format": "date-time", "description": "The date and time the deletion of the secret occurred." }, "Tags": { "type": "array", "items": { "$ref": "#/components/schemas/Tag" }, "description": "The list of tags attached to the secret." }, "SecretVersionsToStages": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } }, "description": "A list of the versions of the secret that have staging labels attached." }, "OwningService": { "type": "string", "description": "The name of the service that created this secret." }, "CreatedDate": { "type": "string", "format": "date-time", "description": "The date and time when the secret was created." }, "PrimaryRegion": { "type": "string", "description": "The Region the secret is in." } } }