By Implementation

Service Control PoliciesConfig RulesAuto Remediation RulesConformance PacksAmazon GuardDutyAmazon InspectorAWS Security HubAWS Network FirewallRoute53 Resolver SecurityAmazon MacieS3 Bucket PoliciesCloudWatch Alarms and Event RulesAWS WAFAWS Secrets ManagerAWS Systems ManagerSecurity Groups & NACLsAWS KMSIAM Policies

By Service Protected

Configuration Packages

Strategy Guides

Other

AWS Secrets Manager

AWS Secrets Manager Secret

Configuration templates to create a secret using AWS Secrets Manager including options for cross-region replication, random password generation and custom KMS keys for encryption

The following settings are available for configuration:

  • Secret Settings – configure the name, description, and encryption keys for the secret (including optionally creating a new KMS key).
  • Replication – add regions to create replicas for the secret
  • Secret Content – choose to generate a random string at the time of secret creation or provide a predetermined value (not recommended)
Items
1
Size
0.4 KB
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
Resources:
  Secret:
    Type: "AWS::SecretsManager::Secret"
    Properties:
      KmsKeyId: "alias/aws/secretsmanager"
      GenerateSecretString:
        ExcludeLowercase: false
        ExcludeNumbers: false
        ExcludePunctuation: false
        ExcludeUppercase: false
        PasswordLength: 32
Parameters: {}
Metadata: {}
Conditions: {}

Actions



Customize Template

Secret Settings

Secret Replication

Secret Content

* Required field