Class AzureExternalKeyConfig
-
- All Implemented Interfaces:
public final class AzureExternalKeyConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAzureExternalKeyConfig.BuilderA builder for AzureExternalKeyConfig.
-
Method Summary
Modifier and Type Method Description final StringkeyName()Name of the key within the vault. final StringtenantId()Azure AD tenant ID. final StringvaultUri()Key Vault data-plane URI — https://{vault-name}.vault.azure.netorhttps://{hsm-name}.managedhsm.azure.net.final Optional<String>clientId()Azure AD application (client) ID. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("azure")final JsonField<String>_keyName()Returns the raw JSON value of keyName. final JsonField<String>_tenantId()Returns the raw JSON value of tenantId. final JsonField<String>_vaultUri()Returns the raw JSON value of vaultUri. final JsonField<String>_clientId()Returns the raw JSON value of clientId. final Map<String, JsonValue>_additionalProperties()final AzureExternalKeyConfig.BuildertoBuilder()final AzureExternalKeyConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AzureExternalKeyConfig.Builderbuilder()Returns a mutable builder for constructing an instance of AzureExternalKeyConfig. -
-
Method Detail
-
vaultUri
final String vaultUri()
Key Vault data-plane URI —
https://{vault-name}.vault.azure.netorhttps://{hsm-name}.managedhsm.azure.net.
-
clientId
final Optional<String> clientId()
Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("azure")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_keyName
final JsonField<String> _keyName()
Returns the raw JSON value of keyName.
Unlike keyName, this method doesn't throw if the JSON field has an unexpected type.
-
_tenantId
final JsonField<String> _tenantId()
Returns the raw JSON value of tenantId.
Unlike tenantId, this method doesn't throw if the JSON field has an unexpected type.
-
_vaultUri
final JsonField<String> _vaultUri()
Returns the raw JSON value of vaultUri.
Unlike vaultUri, this method doesn't throw if the JSON field has an unexpected type.
-
_clientId
final JsonField<String> _clientId()
Returns the raw JSON value of clientId.
Unlike clientId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AzureExternalKeyConfig.Builder toBuilder()
-
validate
final AzureExternalKeyConfig validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static AzureExternalKeyConfig.Builder builder()
Returns a mutable builder for constructing an instance of AzureExternalKeyConfig.
The following fields are required:
.keyName() .tenantId() .vaultUri()
-
-
-
-