Azure / Azure/azure-cli

"Non-hexadecimal digit found" from az keyvault secret download

Open
#16,031 3 comments 0 reactions 1 assignee Assigned to @evelyn-ys View on GitHub
act-identity-squad feature-request KeyVault
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## Describe the bug

**Command Name**
`az keyvault secret download`

**Errors:**
```
Non-hexadecimal digit found
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- Generate cert using https://github.com/shibayan/keyvault-acmebot
- `az keyvault secret download --vault-name {} --name {} --file cert.pfx --encoding hex`

## Expected Behavior

## Environment Summary
```
Linux-5.4.0-52-generic-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB

azure-cli 2.15.0 *

```
## Additional Context

I don't know what the `hex` encoding would/should be used for, I was just playing around with it while debugging another issue (https://github.com/ansible-collections/ansible.windows/issues/132).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.