Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full support for AWS keypair/secrets & Refactoring for local secrets/keypair #46

Merged
merged 3 commits into from
Nov 21, 2022

Conversation

massenz
Copy link
Owner

@massenz massenz commented Nov 20, 2022

The configuration of key pairs and secrets was not consistent, and rather unsatisfactory when it came to AWS.
This has now been consolidated under two properties: keys for the key properties, and aws for AWS connection configuration.

A good example of the use is in the application.yaml for the webapp, however, here is a simple snippet:

aws:
  region: us-west-2
  profile: default

keys:
  algorithm: PASSPHRASE
  location: aws_secret
  name: test-secret

and this is how to configure a key pair instead in AWS:

keys:
  algorithm: EC
  location: aws_secret
  name: demo-pair

The following options are currently available for the location field:

  # env:      env var name which contains the signing secret
  # file:     the file whose contents are the plaintext secret (NOT secure)
  #
  # keypair:    the filename without extension, to which `.pem` and `.pub` will be added
  # aws_secret: name of AWS SecretsManager secret
  # vault_path: path in HashiCorp Vault

See the docs and examples for more details.

@massenz massenz merged commit 50a17bb into main Nov 21, 2022
@massenz massenz deleted the key-refactoring branch November 21, 2022 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant