oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

oci.Database.getAutonomousDatabaseWallet

Explore with Pulumi AI

Deprecated. Use oci.Database.AutonomousDatabaseWallet instead.

This data source provides details about a specific Autonomous Database Wallet resource in Oracle Cloud Infrastructure Database service.

Creates and downloads a wallet for the specified Autonomous Database.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAutonomousDatabaseWallet = Oci.Database.GetAutonomousDatabaseWallet.Invoke(new()
    {
        AutonomousDatabaseId = oci_database_autonomous_database.Test_autonomous_database.Id,
        Password = @var.Autonomous_database_wallet_password,
        Base64EncodeContent = false,
        GenerateType = @var.Autonomous_database_wallet_generate_type,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Database.GetAutonomousDatabaseWallet(ctx, &database.GetAutonomousDatabaseWalletArgs{
			AutonomousDatabaseId: oci_database_autonomous_database.Test_autonomous_database.Id,
			Password:             _var.Autonomous_database_wallet_password,
			Base64EncodeContent:  pulumi.BoolRef(false),
			GenerateType:         pulumi.StringRef(_var.Autonomous_database_wallet_generate_type),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseWalletArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testAutonomousDatabaseWallet = DatabaseFunctions.getAutonomousDatabaseWallet(GetAutonomousDatabaseWalletArgs.builder()
            .autonomousDatabaseId(oci_database_autonomous_database.test_autonomous_database().id())
            .password(var_.autonomous_database_wallet_password())
            .base64EncodeContent("false")
            .generateType(var_.autonomous_database_wallet_generate_type())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_autonomous_database_wallet = oci.Database.get_autonomous_database_wallet(autonomous_database_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    password=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    base64_encode_content=False,
    generate_type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutonomousDatabaseWallet = oci.Database.getAutonomousDatabaseWallet({
    autonomousDatabaseId: oci_database_autonomous_database.test_autonomous_database.id,
    password: _var.autonomous_database_wallet_password,
    base64EncodeContent: false,
    generateType: _var.autonomous_database_wallet_generate_type,
});
variables:
  testAutonomousDatabaseWallet:
    fn::invoke:
      Function: oci:Database:getAutonomousDatabaseWallet
      Arguments:
        autonomousDatabaseId: ${oci_database_autonomous_database.test_autonomous_database.id}
        password: ${var.autonomous_database_wallet_password}
        base64EncodeContent: 'false'
        generateType: ${var.autonomous_database_wallet_generate_type}

Using getAutonomousDatabaseWallet

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAutonomousDatabaseWallet(args: GetAutonomousDatabaseWalletArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseWalletResult>
function getAutonomousDatabaseWalletOutput(args: GetAutonomousDatabaseWalletOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseWalletResult>
def get_autonomous_database_wallet(autonomous_database_id: Optional[str] = None,
                                   base64_encode_content: Optional[bool] = None,
                                   generate_type: Optional[str] = None,
                                   password: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseWalletResult
def get_autonomous_database_wallet_output(autonomous_database_id: Optional[pulumi.Input[str]] = None,
                                   base64_encode_content: Optional[pulumi.Input[bool]] = None,
                                   generate_type: Optional[pulumi.Input[str]] = None,
                                   password: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseWalletResult]
func GetAutonomousDatabaseWallet(ctx *Context, args *GetAutonomousDatabaseWalletArgs, opts ...InvokeOption) (*GetAutonomousDatabaseWalletResult, error)
func GetAutonomousDatabaseWalletOutput(ctx *Context, args *GetAutonomousDatabaseWalletOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseWalletResultOutput

> Note: This function is named GetAutonomousDatabaseWallet in the Go SDK.

public static class GetAutonomousDatabaseWallet 
{
    public static Task<GetAutonomousDatabaseWalletResult> InvokeAsync(GetAutonomousDatabaseWalletArgs args, InvokeOptions? opts = null)
    public static Output<GetAutonomousDatabaseWalletResult> Invoke(GetAutonomousDatabaseWalletInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousDatabaseWalletResult> getAutonomousDatabaseWallet(GetAutonomousDatabaseWalletArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Database/getAutonomousDatabaseWallet:getAutonomousDatabaseWallet
  arguments:
    # arguments dictionary

The following arguments are supported:

AutonomousDatabaseId string

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Password string

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

Base64EncodeContent bool
GenerateType string

The type of wallet to generate.

Shared Exadata infrastructure usage:

AutonomousDatabaseId string

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Password string

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

Base64EncodeContent bool
GenerateType string

The type of wallet to generate.

Shared Exadata infrastructure usage:

autonomousDatabaseId String

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password String

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64EncodeContent Boolean
generateType String

The type of wallet to generate.

Shared Exadata infrastructure usage:

autonomousDatabaseId string

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password string

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64EncodeContent boolean
generateType string

The type of wallet to generate.

Shared Exadata infrastructure usage:

autonomous_database_id str

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password str

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64_encode_content bool
generate_type str

The type of wallet to generate.

Shared Exadata infrastructure usage:

autonomousDatabaseId String

The database OCID.

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

password String

The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.

base64EncodeContent Boolean
generateType String

The type of wallet to generate.

Shared Exadata infrastructure usage:

getAutonomousDatabaseWallet Result

The following output properties are available:

AutonomousDatabaseId string

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Content string

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

Id string

The provider-assigned unique ID for this managed resource.

Password string
Base64EncodeContent bool
GenerateType string
AutonomousDatabaseId string

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

Content string

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

Id string

The provider-assigned unique ID for this managed resource.

Password string
Base64EncodeContent bool
GenerateType string
autonomousDatabaseId String

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content String

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id String

The provider-assigned unique ID for this managed resource.

password String
base64EncodeContent Boolean
generateType String
autonomousDatabaseId string

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content string

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id string

The provider-assigned unique ID for this managed resource.

password string
base64EncodeContent boolean
generateType string
autonomous_database_id str

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content str

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id str

The provider-assigned unique ID for this managed resource.

password str
base64_encode_content bool
generate_type str
autonomousDatabaseId String

Deprecated:

The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

content String

content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.

id String

The provider-assigned unique ID for this managed resource.

password String
base64EncodeContent Boolean
generateType String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.