Example #1
0
 /// <summary>
 /// Initializes a new instance of the KeyVaultAndKeyReference class.
 /// </summary>
 /// <param name="sourceVault">Resource id of the KeyVault containing
 /// the key or secret</param>
 /// <param name="keyUrl">Url pointing to a key or secret in
 /// KeyVault</param>
 public KeyVaultAndKeyReference(SourceVault sourceVault, string keyUrl)
 {
     SourceVault = sourceVault;
     KeyUrl      = keyUrl;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the KeyVaultAndSecretReference class.
 /// </summary>
 /// <param name="sourceVault">Resource id of the KeyVault containing
 /// the key or secret</param>
 /// <param name="secretUrl">Url pointing to a key or secret in
 /// KeyVault</param>
 public KeyVaultAndSecretReference(SourceVault sourceVault, string secretUrl)
 {
     SourceVault = sourceVault;
     SecretUrl   = secretUrl;
     CustomInit();
 }