Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Aug 22, 2024
1 parent f62042b commit 3d16910
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

### Pending Release

### v2.2.0

- :tada: Add Secret for future API Access

### v2.1.0

- :tada: Add TLS Certificate for API
Expand Down
12 changes: 12 additions & 0 deletions cloudformation/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ export default cf.merge(
}
},
Resources: {
MasterSecret: {
Type: 'AWS::SecretsManager::Secret',
Properties: {
Description: cf.join([cf.stackName, ' API Password']),
GenerateSecretString: {
ExcludePunctuation: true,
PasswordLength: 32
},
Name: cf.join([cf.stackName, '/api/password']),
KmsKeyId: cf.ref('KMS')
}
},
Logs: {
Type: 'AWS::Logs::LogGroup',
Properties: {
Expand Down

0 comments on commit 3d16910

Please sign in to comment.