Created
March 3, 2021 11:25
-
-
Save ross-humphrey/8ccaeb597f5a126ab1c844f23310cf6d to your computer and use it in GitHub Desktop.
Some commands to create secrets in secrets manager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#RDS Secret Creation | |
aws secretsmanager create-secret --name "name-of-secret" --description "description-of-secret" --secret-string "{\"username\":\"db-username\",\"password\":\"db-password\",\"engine\":\"db-engine\",\"host\":\"db-host\",\"port\":db-port-number,\"dbClusterIdentifier\":\"db-cluster-id\"}" | |
# Generic Secrets Creation | |
aws secretsmanager create-secret --name "name-of-secret" --description "description-of-secret" --secret-string "{\"username\":\"username”\",\"password\":\"password\"}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment