pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Surnet/cloudformation-systemsmanager-parameterstore-secret

all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-9e07ff8eaaaff3a3.css" /> GitHub - Surnet/cloudformation-systemsmanager-parameterstore-secret: CloudFormation Resource to Create and Update Secrets in the AWS Systems Manager Parameter Store · GitHub
Skip to content

Surnet/cloudformation-systemsmanager-parameterstore-secret

Repository files navigation

AWS CloudFormation Systems Manager Parameter Store Secret Extension

This CloudFormation Extension allows the creation of AWS Systems Manager Parameter Store Secrets with automatically generated passwords. You can find the docs in here.

Installation

The Resource Provider must be installed before use.

Dependencies

To build and install the Extension some CLI Tools are needed. On Mac you can install them like this.

brew install awscli
brew install aws-sam-cli
brew install pipx
pipx install cloudformation-cli
pipx runpip cloudformation-cli install --upgrade setuptools
pipx inject cloudformation-cli git+https://github.com/HeatherFlux/cloudformation-cli-typescript-plugin.git@bugfix/arch-1058-fix-dependency-and-python

Installation

To install the extension you can run the following command:

./deploy.sh

Use environment variables to specify where to install the extension.

AWS_PROFILE=dev ./deploy.sh

Usage

After registration, the resource can be used in CloudFormation templates.

Generated Passwords

Resources:
  MyDatabaseSecret:
    Type: Surnet::ParameterStore::Secret
    Properties:
      Name: /prod/db/password
      Description: "Production database password"
      PasswordOptions:
        Length: 24
        IncludeNumbers: true
        IncludeSymbols: true
        Serial: 1
      Tags:
        - Key: Environment
          Value: Production
        - Key: Application
          Value: MyApp

Outputs:
  DatabasePassword:
    Value: !GetAtt MyDatabaseSecret.Password
    Description: "The generated database password"

User-defined Passwords

Resources:
  MyDatabaseSecret:
    Type: Surnet::ParameterStore::Secret
    Properties:
      Name: /prod/db/password
      Description: "Production database password"
      PasswordInput: "MySuperSecretPassword"
      Tags:
        - Key: Environment
          Value: Production
        - Key: Application
          Value: MyApp

Outputs:
  DatabasePassword:
    Value: !GetAtt MyDatabaseSecret.Password
    Description: "The generated database password"

About

CloudFormation Resource to Create and Update Secrets in the AWS Systems Manager Parameter Store

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy