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

Add optional flag to disable api key return #63

Merged
merged 3 commits into from
Oct 24, 2023

Conversation

BartoszBlizniak
Copy link
Contributor

@BartoszBlizniak BartoszBlizniak commented Oct 24, 2023

Context:

We are currently returning the service account API key to state which causes warnings when rotating the keys outside of the state. The aim of this PR is to provide the option to not return the API key at all which provides additional security and suppresses the warnings as it defaults the "key" value to "disabled"

cloudsmith/resource_service.go Outdated Show resolved Hide resolved
docs/resources/service.md Outdated Show resolved Hide resolved
Copy link
Member

@MrTam MrTam left a comment

Choose a reason for hiding this comment

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

Couple of small suggestions, but approving in advance 😄

docs/resources/service.md Outdated Show resolved Hide resolved
cloudsmith/resource_service.go Outdated Show resolved Hide resolved
@BartoszBlizniak BartoszBlizniak merged commit c2c2930 into master Oct 24, 2023
2 checks passed
@BartoszBlizniak BartoszBlizniak deleted the NO-TICKET/optional_api_key branch October 24, 2023 17:01
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.

4 participants