Secret identifier can be found on Azure Portal.
Secret value will be interpreted as yaml. The following is an example
username: jenkins passphrase: privateKey: | -----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAnWLC5QGdQNii4oDosvY5hXEGOGQXFsw1YFMkyG+xY5kUIxc3 : : BZC5SbkVLUxtoPubf2op4lJoxbBX4p0qcA8Iu6HVJFDkWhPvuH7O5g== -----END RSA PRIVATE KEY-----
The following example uses the az-cli to load a yaml file as a secret into an Azure Keyvault
az keyvault secret --vault-name jenkins --name ssh-cred --file ssh-cred.yaml