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

Audience key versions #87

Open
wants to merge 32 commits into
base: biscuit_integration
Choose a base branch
from
Open

Conversation

daeMOn63
Copy link
Contributor

@daeMOn63 daeMOn63 commented Oct 21, 2020

Add audience key management CLI commands:

  • ListKeyVersions
  • CreateKeyVersion
  • DeleteKeyVersion
  • RestoreKeyVersion

Updated the AudienceKeyNamerFunc to allow an env variable (AUDIENCE_KEYS) to overwrite the audience key version, when set to a json payload like:

{
    "https://audience.url": "new/key/cryptoKeyVersions/2", 
    "https://another.url": "new/key/cryptoKeyVersions/5"
}

pkg/kmssign/kms.go Outdated Show resolved Hide resolved
pkg/cli/audiences.go Outdated Show resolved Hide resolved
pkg/kmssign/kms.go Outdated Show resolved Hide resolved
pkg/kmssign/kms.go Outdated Show resolved Hide resolved
@daeMOn63
Copy link
Contributor Author

Waiting on #72 review before merging

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.

2 participants