Package com.azure.spring.keyvault
Class KeyVaultProperties
- java.lang.Object
-
- com.azure.spring.keyvault.KeyVaultProperties
-
@ConfigurationProperties("azure.keyvault") public class KeyVaultProperties extends ObjectKeyVaultProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyVaultProperties.Propertyenum Property
-
Constructor Summary
Constructors Constructor Description KeyVaultProperties()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAllowTelemetry()Deprecated.Determined by HTTP header User-Agent insteadStringgetCaseSensitiveKeys()Gets the case-sensitive keys.StringgetCertificatePassword()Gets the certificate password.StringgetCertificatePath()Gets the certificate path.StringgetClientId()Gets the client ID.StringgetClientKey()Gets the client key.BooleangetEnabled()Whether enabled.StringgetOrder()Gets the order.static StringgetPropertyName(KeyVaultProperties.Property property)Gets the property name.static StringgetPropertyName(String normalizedName, KeyVaultProperties.Property property)Gets the property name.LonggetRefreshInterval()Gets the refresh interval.List<String>getSecretKeys()Gets the list of secret keys.StringgetTenantId()Gets the tenant ID.StringgetUri()Gets the URI.voidsetAllowTelemetry(String allowTelemetry)Sets whether telemetry is allowed.voidsetCaseSensitiveKeys(String caseSensitiveKeys)Sets the case-sensitive keys.voidsetCertificatePassword(String certificatePassword)Sets the certificate password.voidsetCertificatePath(String certificatePath)Sets the certificate path.voidsetClientId(String clientId)Sets the client ID.voidsetClientKey(String clientKey)Sets the client key.voidsetEnabled(Boolean enabled)Sets whether enabled.voidsetOrder(String order)Sets the order.voidsetRefreshInterval(Long refreshInterval)Sets the refresh interval.voidsetSecretKeys(List<String> secretKeys)Sets the list of secret keys.voidsetTenantId(String tenantId)Sets the tenant ID.voidsetUri(String uri)Sets the URI.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
The prefix- See Also:
- Constant Field Values
-
DELIMITER
public static final String DELIMITER
The delimiter- See Also:
- Constant Field Values
-
-
Method Detail
-
getClientId
public String getClientId()
Gets the client ID.- Returns:
- the client ID
-
setClientId
public void setClientId(String clientId)
Sets the client ID.- Parameters:
clientId- the client ID
-
getClientKey
public String getClientKey()
Gets the client key.- Returns:
- the client key
-
setClientKey
public void setClientKey(String clientKey)
Sets the client key.- Parameters:
clientKey- the client key
-
getTenantId
public String getTenantId()
Gets the tenant ID.- Returns:
- the tenant ID
-
setTenantId
public void setTenantId(String tenantId)
Sets the tenant ID.- Parameters:
tenantId- the tenant ID
-
getCertificatePath
public String getCertificatePath()
Gets the certificate path.- Returns:
- the certificate path
-
setCertificatePath
public void setCertificatePath(String certificatePath)
Sets the certificate path.- Parameters:
certificatePath- the certificate path
-
getCertificatePassword
public String getCertificatePassword()
Gets the certificate password.- Returns:
- the certificate password
-
setCertificatePassword
public void setCertificatePassword(String certificatePassword)
Sets the certificate password.- Parameters:
certificatePassword- the certificate password
-
getEnabled
public Boolean getEnabled()
Whether enabled.- Returns:
- whether enabled
-
setEnabled
public void setEnabled(Boolean enabled)
Sets whether enabled.- Parameters:
enabled- whether enabled
-
getUri
public String getUri()
Gets the URI.- Returns:
- the URI
-
setUri
public void setUri(String uri)
Sets the URI.- Parameters:
uri- the URI
-
getRefreshInterval
public Long getRefreshInterval()
Gets the refresh interval.- Returns:
- the refresh interval
-
setRefreshInterval
public void setRefreshInterval(Long refreshInterval)
Sets the refresh interval.- Parameters:
refreshInterval- the refresh interval
-
getSecretKeys
public List<String> getSecretKeys()
Gets the list of secret keys.- Returns:
- the list of secret keys
-
setSecretKeys
public void setSecretKeys(List<String> secretKeys)
Sets the list of secret keys.- Parameters:
secretKeys- the list of secret keys
-
getOrder
public String getOrder()
Gets the order.- Returns:
- the order
-
setOrder
public void setOrder(String order)
Sets the order.- Parameters:
order- the order
-
getCaseSensitiveKeys
public String getCaseSensitiveKeys()
Gets the case-sensitive keys.- Returns:
- the case-sensitive keys
-
setCaseSensitiveKeys
public void setCaseSensitiveKeys(String caseSensitiveKeys)
Sets the case-sensitive keys.- Parameters:
caseSensitiveKeys- the case-sensitive keys
-
getAllowTelemetry
@Deprecated @DeprecatedConfigurationProperty(reason="Deprecate the telemetry endpoint and use HTTP header User Agent instead.") public String getAllowTelemetry()
Deprecated.Determined by HTTP header User-Agent insteadWhether telemetry is allowed.- Returns:
- whether telemetry is allowed
-
setAllowTelemetry
public void setAllowTelemetry(String allowTelemetry)
Sets whether telemetry is allowed.- Parameters:
allowTelemetry- whether telemetry is allowed
-
getPropertyName
public static String getPropertyName(KeyVaultProperties.Property property)
Gets the property name.- Parameters:
property- the property- Returns:
- the property name
-
getPropertyName
public static String getPropertyName(String normalizedName, KeyVaultProperties.Property property)
Gets the property name.- Parameters:
normalizedName- the normalized nameproperty- the property- Returns:
- the property name
-
-