Interface Secret

    • Method Detail

      • getValue

        String getValue()
        Returns:
        the secret value when the secret is enabled
      • getValueAsync

        Mono<String> getValueAsync()
        Returns:
        the secret value when the secret is enabled
      • attributes

        com.azure.security.keyvault.secrets.models.SecretProperties attributes()
        Returns:
        the secret management attributes
      • tags

        Map<String,​String> tags()
        Returns:
        application specific metadata in the form of key-value pairs
      • contentType

        String contentType()
        Returns:
        type of the secret value such as a password
      • kid

        String kid()
        Returns:
        the corresponding key backing the KV certificate if this is a secret backing a KV certificate
      • managed

        boolean managed()
        Returns:
        true if the secret's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true
      • enabled

        boolean enabled()
        Returns:
        whether secret is enabled.
      • listVersions

        com.azure.core.http.rest.PagedIterable<Secret> listVersions()
        Returns:
        a list of individual secret versions with the same secret name
      • listVersionsAsync

        com.azure.core.http.rest.PagedFlux<Secret> listVersionsAsync()
        Returns:
        a list of individual secret versions with the same secret name