KeyVaultCertificateIdentifier Class
- java.
lang. Object - com.
azure. security. keyvault. certificates. models. KeyVaultCertificateIdentifier
- com.
public final class KeyVaultCertificateIdentifier
Information about a KeyVaultCertificate parsed from the certificate URL. You can use this information when calling methods of CertificateClient or CertificateAsyncClient.
Constructor Summary
Constructor | Description |
---|---|
KeyVaultCertificateIdentifier(String sourceId) |
Create a new KeyVaultCertificateIdentifier from a given Key Vault identifier. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the certificate. |
String |
getSourceId()
Gets the key identifier used to create this object |
String |
getVaultUrl()
Gets the URL of the Key Vault. |
String |
getVersion()
Gets the optional version of the certificate. |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultCertificateIdentifier
public KeyVaultCertificateIdentifier(String sourceId)
Create a new KeyVaultCertificateIdentifier from a given Key Vault identifier.
Some examples:
- https://{key-vault-name}.vault.azure.net/certificates/{certificate-name}
- https://{key-vault-name}.vault.azure.net/certificates/{certificate-name}/pending
- https://{key-vault-name}.vault.azure.net/certificates/{certificate-name}/{unique-version-id}
- https://{key-vault-name}.vault.azure.net/deletedcertificates/{deleted-certificate-name}
Parameters:
Method Details
getName
public String getName()
Gets the name of the certificate.
Returns:
getSourceId
public String getSourceId()
Gets the key identifier used to create this object
Returns:
getVaultUrl
public String getVaultUrl()
Gets the URL of the Key Vault.
Returns:
getVersion
public String getVersion()
Gets the optional version of the certificate.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for