-
Notifications
You must be signed in to change notification settings - Fork 25
feat(kms): Add KMS under beta #935
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
base: main
Are you sure you want to change the base?
Conversation
@rubenhoenle are there any updates on the PR? I would love to use it in my pipeline. |
|
||
var ( | ||
testProjectId = uuid.NewString() | ||
testRegion = "eu01" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testRegion = "eu01" | |
const testRegion = "eu01" |
Well, the region is required for every API endpoint, it will just be "eu01" for now all the time. But please use the regular multi-region implementation like we do for all the other commands. So we're ready for the future :)
|
Co-authored-by: Ruben Hönle <[email protected]>
Co-authored-by: Ruben Hönle <[email protected]>
Co-authored-by: Ruben Hönle <[email protected]>
Co-authored-by: Ruben Hönle <[email protected]>
Co-authored-by: Ruben Hönle <[email protected]>
@rubenhoenle all so far requested changes should be addressed. Are you making progress on your tests? |
I just blindly merged I just resolved and addressed the issue. |
@JanStern wanted to test now, but most of the examples provided in the help output just don't work. Giving up for today. |
Yes, I'm aware of that and I also used the UUIDs in my examples. Just used the examples to show you the error I got. I was hoping you get my point then better without running into some wrong direction. I really hope I didn't confuse you with that 😅 |
I'm sorry, we as the STACKIT Developer Tools team can't change the behaviour of STACKIT services like e.g. KMS in this case. But I will forward this to the KMS team for you 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now to me, also the testing part.
I have only one last nitpick: The command for the key ring is called stackit beta kms keyring ...
but the flag is spelled key-ring-id
. You see the problem? Once it's keyring
, once key-ring-id
. Maybe we can rename all the flags from key-ring-id
to keyring-id
in terms of user friendliness?
Sorry for noticing this now, it just came into my mind during the testing now... I think with some search&replace this should be doable without too many pain. What do you think? 😅
Nevertheless, have a nice weekend!
Description
relates to #934
KMS has been added to the CLI. Now the following commands exist:
Checklist
make fmt
make generate-docs
(will be checked by CI)make test
(will be checked by CI)make lint
(will be checked by CI)Important Decisions
The CLI implementation of KMS reflects the state of the API, which includes some seemingly unfinished decisions.
Hope this actually helps and huge thanks to whomever tries to tackle this monster merge.