Package com.microsoft.azure.keyvault
Class SecretIdentifier
- java.lang.Object
-
- com.microsoft.azure.keyvault.ObjectIdentifier
-
- com.microsoft.azure.keyvault.SecretIdentifier
-
public final class SecretIdentifier extends ObjectIdentifier
Key Vault secret identifier.
-
-
Field Summary
-
Fields inherited from class com.microsoft.azure.keyvault.ObjectIdentifier
baseIdentifier, identifier, name, vault, version
-
-
Constructor Summary
Constructors Constructor Description SecretIdentifier(String identifier)
Constructor.SecretIdentifier(String vault, String name)
Constructor.SecretIdentifier(String vault, String name, String version)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isSecretIdentifier(String identifier)
Verifies whether the identifier belongs to a key vault secret.-
Methods inherited from class com.microsoft.azure.keyvault.ObjectIdentifier
baseIdentifier, getFullAuthority, identifier, isObjectIdentifier, name, toString, vault, verifyNonEmpty, version
-
-
-
-
Constructor Detail
-
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.
-
SecretIdentifier
public SecretIdentifier(String identifier)
Constructor.- Parameters:
identifier
- the object identifier.
-
-
Method Detail
-
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.
-
-