Skip to content

Instantly share code, notes, and snippets.

@chcosta
Last active February 26, 2021 23:16
Show Gist options
  • Save chcosta/8a36570f1fb9d79f4d03ccd6b2381e4d to your computer and use it in GitHub Desktop.
Save chcosta/8a36570f1fb9d79f4d03ccd6b2381e4d to your computer and use it in GitHub Desktop.
Secret management plan

Secret management plan

image

A1) User must authenticate with Azure AD

A2) User specifies "rotate" secret "Foo"

C1) Manifest is queried to determine metadata for secret "Foo" - Do we want to query key vault and get a guid for the secret which can be used for operations instead of a name string? - This would permit changing a name in key vault or associating more than one secret with a specific value - D) Cli has knowledge on how to use the metadata to generate a new secret

D1) Generate new secret

D2) Update key vault

E1) Update manifest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment