CmdID / az / az keyvault / az keyvault secret
az keyvault secret set
Create a secret (if one doesn't exist) or update a secret in a KeyVault. Azure CLI reference
10 options Its page in the Azure CLI reference
Options
--content-type, --descriptionDescription of the secret contents (e.g. password, connection string, etc)--disabledCreate secret in disabled state.--encoding, -eSource file encoding.--expiresExpiration UTC datetime (Y-m-d'T'H:M:S'Z').--file, -fSource file for secret.--name, -nName of the secret.--not-beforeSecret not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z').--tagsspace-separated tags: key[=value] [key[=value] ...].--valuePlain text secret value.--vault-nameName of the Vault.