Class KeyVaultProperties


  • @ConfigurationProperties("azure.keyvault")
    public class KeyVaultProperties
    extends Object
    KeyVaultProperties
    • Constructor Detail

      • KeyVaultProperties

        public KeyVaultProperties()
    • 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 instead
        Whether 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 name
        property - the property
        Returns:
        the property name