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

@daeMOn63 daeMOn63 force-pushed the biscuit_integration branch from cce7101 to 249a3e9 Compare December 11, 2020 08:26
daeMOn63 and others added 8 commits December 11, 2020 09:31
@daeMOn63 daeMOn63 force-pushed the audience_key_versions branch from d428c58 to efa7ad6 Compare December 11, 2020 08:38
@daeMOn63 daeMOn63 force-pushed the biscuit_integration branch from 249a3e9 to f7f02c7 Compare December 16, 2020 14:24
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