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

cli: deeper support for show-secrets in env get #355

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Jul 17, 2024

These changes plumb support for showing all static secrets through
esc env get (rather than only those secrets immediately present in
the environment being read directly; i.e. including secrets from
imported environments).

Note that this support is latent, and the fix will not be user-visible
until supporting code is deployed to the ESC API.

Part of #347.

@pgavlin pgavlin requested a review from komalali July 17, 2024 17:18
@pgavlin
Copy link
Member Author

pgavlin commented Jul 17, 2024

Depends on #353. Also--the concrete changes to the shipping CLI are latent, and will not take effect until the ESC API is updated to respect the new query parameter.

@pgavlin pgavlin changed the title eval: allow secret decryption in CheckEnvironment cli: deeper support for show-secrets in env get Jul 17, 2024
@pgavlin pgavlin requested a review from lblackstone July 17, 2024 17:53
cmd/esc/cli/client/client.go Show resolved Hide resolved
These changes plumb support for showing _all_ static secrets through
`esc env get` (rather than only those secrets immediately present in
the environment being read directly; i.e. including secrets from
imported environments).

Note that this support is latent, and the fix will not be user-visible
until supporting code is deployed to the ESC API.

Part of #347.
@pgavlin pgavlin enabled auto-merge (squash) July 17, 2024 19:11
@pgavlin pgavlin merged commit aab4e51 into main Jul 17, 2024
4 checks passed
@pgavlin pgavlin deleted the pgavlin/esc-347-2 branch July 17, 2024 19:23
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