Skip to content
Release: Australia · Updated: 2026-04-29 · Official documentation · View source

AWS Secrets Manager Secret pattern-based discovery

Discovery and Service Mapping Patterns finds AWS Secrets Manager Secrets on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Pattern-based discovery and mapping requirements

  • Verify the AWS discovery prerequisites

    For more information, see the prerequisites section in AWS discovery using patterns.

  • Remove resources from the Resource Inclusion List table

    Verify that the relevant resource isn't listed in the Resource Inclusion List [sa_cloud_inventory_resource_whitelist] table to avoid duplicate discovery. For more information on removing resources from the Resource Inclusion List, see AWS Resource Inventory discovery with Patterns.

  • Enable the relevant pattern

    The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see Activate a disabled pattern.

Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

Data stored in non-CMDB tables

Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - Secrets Manager Secret - Extended Inventory (LP) pattern.

You can review the non-CMDB AWS tables by navigating to All > Configuration > AWS. You can also search the navigation filter for the specific pattern name.

FieldDescription
Object ID [object_id]The Amazon Resource Name (ARN) of the secret.
Name [name]Name of the secret.
Primary Region [primary_region]The primary Region for the secret, for multi-Region secrets.
Owning Service [owning_service]The name of the service that created the secret.
Rotation Enabled [rotation_enabled]Indicates whether automatic rotation is enabled for the secret.
Kms Key ID [kms_key_id]The ARN or alias of the KMS key used to encrypt the secret.
Description [description]Description of the secret.
Rotation Lambda Arn [rotation_lambda_arn]The ARN of the Lambda function used to rotate the secret.
Rotation Days [rotation_days]The number of days between automatic scheduled rotations of the secret.
Schedule Expression [schedule_expression]A cron or rate expression that defines the schedule for rotating the secret.
Duration [duration]The length of the rotation window during which Secrets Manager rotates the secret.
Secret Version To Stages [secret_version_to_stages]A map of the secret versions and their staging labels.
Created Date [created_date]Date and time when the secret was created.
Last Changed Date [last_changed_date]Date and time when the secret was last changed.
Last Accessed Date [last_accessed_date]Date and time when the secret was last accessed.
Last Rotated Date [last_rotated_date]Date and time when the secret was last rotated.
Configuration Item [configuration_item]References the Cloud Resource [cmdb_ci_cmp_resource] table.

Data stored in CMDB tables

Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - Secrets Manager Secret - Extended Inventory (LP) pattern.

FieldDescription
Name [name]Name of the secret.
Object ID [object_id]The ARN of the secret.
Resource type [resource_type]Type of resource. The value is set to AWS::SecretsManager::Secret.
Install Status [install_status]Install status of the resource. Default value is Installed.
Operational status [operational_status]Operational status of the resource. Default value is Operational.

CI relationships

The Amazon AWS - Secrets Manager Secret - Extended Inventory (LP) pattern creates the following relationships and references to support AWS Secrets Manager Secret discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.

CIRelationshipCI
Cloud Resource [cmdb_ci_cmp_resource]Hosted on::HostsAWS Datacenter [cmdb_ci_aws_datacenter]
CIFieldReferenced CI
AWS Secrets Manager Secret [cmdb_aws_secrets_manager_secret]Configuration Item [configuration_item]Cloud Resource [cmdb_ci_cmp_resource]
Key Value [cmdb_key_value]Configuration item [configuration_item]Cloud Resource [cmdb_ci_cmp_resource]

AWS Tag discovery

The Amazon AWS - Secrets Manager Secret - Extended Inventory (LP) pattern collects tags and populates them in the Key Value [cmdb_key_value] table.

FieldDescription
Key [key]Tag name.
Value [value]Tag value.
Configuration item [configuration_item]References the Cloud Resource [cmdb_ci_cmp_resource] table.

Parent Topic:AWS discovery using patterns