Amazon Secrets Manager · Schema
Secret
Secret schema from Amazon Secrets Manager API
ConfigurationCredentialsRotationSecretsSecurity
Properties
| Name | Type | Description |
|---|---|---|
| ARN | string | The ARN of the secret. |
| Name | string | The friendly name of the secret. |
| Description | string | The description of the secret. |
| KmsKeyId | string | The ARN of the KMS key used to encrypt the secret. |
| RotationEnabled | boolean | Whether rotation is enabled for this secret. |
| RotationLambdaARN | string | The ARN of the Lambda function that rotates the secret. |
| RotationRules | object | |
| LastRotatedDate | string | The most recent date and time that rotation was triggered. |
| LastChangedDate | string | The last date and time that this secret was modified. |
| LastAccessedDate | string | The last date that this secret was accessed. |
| DeletedDate | string | The date and time the deletion of the secret occurred. |
| Tags | array | The list of tags attached to the secret. |
| SecretVersionsToStages | object | A list of the versions of the secret that have staging labels attached. |
| OwningService | string | The name of the service that created this secret. |
| CreatedDate | string | The date and time when the secret was created. |
| PrimaryRegion | string | The Region the secret is in. |
JSON Schema
{
"$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."
}
}
}