Skip to content

feat: add common keystore plugin errors#56

Merged
minh-nghia merged 1 commit intoopenkcm:mainfrom
minh-nghia:feat/keystore-plugin-errors
Sep 3, 2025
Merged

feat: add common keystore plugin errors#56
minh-nghia merged 1 commit intoopenkcm:mainfrom
minh-nghia:feat/keystore-plugin-errors

Conversation

@minh-nghia
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Add gRPC error definitions with detailed reason that can be used by both keystore plugins and CMK

Release note:
NONE

)

var (
StatusProviderAuthenticationError = status.New(
Copy link
Copy Markdown
Contributor

@petersbingham petersbingham Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we raise these in the interface (I guess not)? Problem is that there is nothing to oblige the implementer to use these but I'm inferring that's there's now a reliance for them from CMK.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, not really anything to force such errors to be used

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to function descriptions

@minh-nghia minh-nghia force-pushed the feat/keystore-plugin-errors branch from 1b5c136 to a6258a1 Compare September 3, 2025 09:07
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Sep 3, 2025

@minh-nghia minh-nghia merged commit 02fa126 into openkcm:main Sep 3, 2025
5 of 6 checks passed
This was referenced Sep 3, 2025
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.

4 participants