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

Option to not show function key after publish #2813

Closed
sebader opened this issue Nov 5, 2021 · 1 comment
Closed

Option to not show function key after publish #2813

sebader opened this issue Nov 5, 2021 · 1 comment
Assignees

Comments

@sebader
Copy link
Member

sebader commented Nov 5, 2021

We are using the function core tools in a CI/CD pipeline to publish some functions and would very much like to not have the function key (code=... ) shown as part of the logs in clear text.

Ideally add a switch to the publish command to show/not show the code or the entire URL. Neither is needed for CI/CD pipeline runs.

image

Function core tools version: 3.0.3785

Like here I guess :)

await AzureHelper.PrintFunctionsInfo(functionApp, AccessToken, ManagementURL, showKeys: true);

@michaelpeng36
Copy link
Contributor

This issue has been resolved by PR #2938 and #2941. By default, the function key should not be exposed now when publishing. If this behavior is desired, then the switch --show-keys has been included.

@ghost ghost locked as resolved and limited conversation to collaborators Mar 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants