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

Client store commands #8

Merged
merged 3 commits into from
Nov 2, 2023
Merged

Client store commands #8

merged 3 commits into from
Nov 2, 2023

Conversation

pdeziel
Copy link
Collaborator

@pdeziel pdeziel commented Oct 31, 2023

This adds store client commands to the CLI to make it easier to demo the service.

@pdeziel pdeziel requested a review from pdamodaran October 31, 2023 17:09
@@ -73,7 +73,7 @@ func (s *Store) GetCertificate(ctx context.Context, name string) (cert []byte, e
defer s.RUnlock()

// Load the certificate archive into bytes
if cert, err = os.ReadFile(s.fullPath(store.CertificatePrefix, name)); err != nil {
if cert, err = os.ReadFile(s.fullPath(store.CertificatePrefix, name, "")); err != nil {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removing the extension for stored certificates.

Copy link

@pdamodaran pdamodaran left a comment

Choose a reason for hiding this comment

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

looks good @pdeziel! thanks for adding the secret manager validation!

@pdeziel pdeziel merged commit b594fb9 into main Nov 2, 2023
3 checks passed
@pdeziel pdeziel deleted the sc-22281 branch November 2, 2023 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants