PSRecoveryServicesClient.GenerateVaultCredential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the vault credential object
public Microsoft.Azure.Portal.RecoveryServices.Models.Common.ASRVaultCreds GenerateVaultCredential (System.Security.Cryptography.X509Certificates.X509Certificate2 managementCert, Microsoft.Azure.Commands.RecoveryServices.ARSVault vault, Microsoft.Azure.Commands.RecoveryServices.ASRSite site, string authType);
member this.GenerateVaultCredential : System.Security.Cryptography.X509Certificates.X509Certificate2 * Microsoft.Azure.Commands.RecoveryServices.ARSVault * Microsoft.Azure.Commands.RecoveryServices.ASRSite * string -> Microsoft.Azure.Portal.RecoveryServices.Models.Common.ASRVaultCreds
Public Function GenerateVaultCredential (managementCert As X509Certificate2, vault As ARSVault, site As ASRSite, authType As String) As ASRVaultCreds
Parameters
- managementCert
- X509Certificate2
certificate to be uploaded
- vault
- ARSVault
vault object
- site
- ASRSite
site object
- authType
- String
authentication type
Returns
credential object