Created
August 15, 2022 20:04
-
-
Save deangrant/80e6627a9aef8915ca032ca61c72122a to your computer and use it in GitHub Desktop.
Azure CLI to store a multi-line secret such as a JSON file or RSA private key using the file parameter.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VAULT_NAME = {{ vault_name }} | |
SECRET_NAME = {{ secret_name }} | |
FILENAME = {{ filename }} | |
az keyvault secret set --vault-name $VAULT_NAME --name $SECRET_NAME --file $FILENAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment