Skip to content

az cli logs sensitive info in --DEBUG mode #23740

@harneetvirk

Description

@harneetvirk

Related command

az cli logs sensitive info in --DEBUG mode

Is your feature request related to a problem? Please describe.

Run "az ml data create --debug --file some_dataset.yaml" with your default workspace and resourcegroup.
Check the debug output. It contains something like this:

azure.core.pipeline.policies._universal: {
"secretsType": "AccountKey",
"key": "2ww2c/dCC42vx********************"
}

Describe the solution you'd like

No secrets are getting exposed from any of the az commands when executing in DEBUG mode.

Metadata

Metadata

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamCoreCLI core infrastructureOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.common issuefeature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions