Skip to content

Retrieve address from KMS #2

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

Merged
merged 3 commits into from
Feb 27, 2025
Merged

Retrieve address from KMS #2

merged 3 commits into from
Feb 27, 2025

Conversation

syntrust
Copy link
Collaborator

Get addresses based on the KMS config for client usage.

if err != nil {
return nil, fmt.Errorf("kms get public key request failed: %w", err)
}
fmt.Printf("PEM:\n%s", result.Pem)

Choose a reason for hiding this comment

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

Are these prints intended to be in the final output or just for debug? Similar for L40.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

debug

Choose a reason for hiding this comment

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

If it's only for debug, then it should be commented out, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As an internal tool, it is convenient and informative for the user to check whether each step is correct or not.

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.

3 participants