SecretIdentifier Class
- java.
lang. Object - ObjectIdentifier
- com.
microsoft. azure. keyvault. SecretIdentifier
- com.
public class SecretIdentifier extends ObjectIdentifier
Key Vault secret identifier.
Constructor Summary
Constructor | Description |
---|---|
SecretIdentifier(String identifier) |
Constructor. |
SecretIdentifier(String vault, String name) |
Constructor. |
SecretIdentifier(String vault, String name, String version) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
isSecretIdentifier(String identifier)
Verifies whether the identifier belongs to a key vault secret. |
Inherited Members
ObjectIdentifier.baseIdentifier
ObjectIdentifier.baseIdentifier()
ObjectIdentifier.getFullAuthority(URI uri)
ObjectIdentifier.identifier
ObjectIdentifier.identifier()
ObjectIdentifier.isObjectIdentifier(String collection, String identifier)
ObjectIdentifier.name
ObjectIdentifier.name()
ObjectIdentifier.ObjectIdentifier()
ObjectIdentifier.ObjectIdentifier(String vault, String collection, String name)
ObjectIdentifier.ObjectIdentifier(String vault, String collection, String name, String version)
ObjectIdentifier.ObjectIdentifier(String collection, String identifier)
ObjectIdentifier.toString()
ObjectIdentifier.vault
ObjectIdentifier.vault()
ObjectIdentifier.verifyNonEmpty(String value, String argName)
ObjectIdentifier.version
ObjectIdentifier.version()
Constructor Details
SecretIdentifier
public SecretIdentifier(String identifier)
Constructor.
Parameters:
identifier
- the object identifier.
SecretIdentifier
public SecretIdentifier(String vault, String name)
Constructor.
Parameters:
vault
- the vault url.
name
- the name of secret.
SecretIdentifier
public SecretIdentifier(String vault, String name, String version)
Constructor.
Parameters:
vault
- the vault url.
name
- the name of secret.
version
- the secret version.
Method Details
isSecretIdentifier
public static boolean isSecretIdentifier(String identifier)
Verifies whether the identifier belongs to a key vault secret.
Parameters:
identifier
- the key vault secret identifier.
Returns:
true if the identifier belongs to a key vault secret. False otherwise.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java