Interface OciVault


  • @Deprecated(since="2.5.0",
                forRemoval=true)
    public interface OciVault
    Deprecated, for removal: This API element is subject to removal in a future version.
    use OCI SDK instead
    Blocking API to access OCI Vault. All methods block the current thread. This implementation is not suitable for reactive programming. Use OciVaultRx in reactive code.
    • Method Detail

      • create

        static OciVault create​(OciVaultRx reactive)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create blocking Vault from its reactive counterpart. When within an environment that supports injection, such as CDI, this class can be simply injected.
        Parameters:
        reactive - reactive Vault
        Returns:
        blocking Vault
      • getSecret

        ApiOptionalResponse<Secret> getSecret​(GetSecret.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Gets information about the specified secret.
        Parameters:
        request - get secret request
        Returns:
        future with secret response or exception
      • createSecret

        CreateSecret.Response createSecret​(CreateSecret.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create a new secret.
        Parameters:
        request - create secret request
        Returns:
        future with create secret response or exception
      • getSecretBundle

        ApiOptionalResponse<GetSecretBundle.Response> getSecretBundle​(GetSecretBundle.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Gets information about the specified secret.
        Parameters:
        request - get secret bundle request
        Returns:
        future with response or error
      • deleteSecret

        DeleteSecret.Response deleteSecret​(DeleteSecret.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Schedules a secret deletion.
        Parameters:
        request - delete secret request
        Returns:
        future with response or error
      • encrypt

        Encrypt.Response encrypt​(Encrypt.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Encrypt data.
        Parameters:
        request - encryption request
        Returns:
        future with encrypted data
      • decrypt

        Decrypt.Response decrypt​(Decrypt.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Decrypt data.
        Parameters:
        request - decryption request
        Returns:
        future with decrypted data
      • sign

        Sign.Response sign​(Sign.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Sign a message.
        Parameters:
        request - signature request
        Returns:
        signature response
      • verify

        Verify.Response verify​(Verify.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Verify a message signature.
        Parameters:
        request - verification request
        Returns:
        verification response
      • getKey

        ApiOptionalResponse<GetKey.Response> getKey​(GetKey.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get key metadata.
        Parameters:
        request - get key request
        Returns:
        get key response
      • getVault

        ApiOptionalResponse<GetVault.Response> getVault​(GetVault.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get Vault metadata.
        Parameters:
        request - get vault request
        Returns:
        get vault response