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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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(testAutonomousDatabase.id())
.password(autonomousDatabaseWalletPassword)
.base64EncodeContent("false")
.generateType(autonomousDatabaseWalletGenerateType)
.isRegional(autonomousDatabaseWalletIsRegional)
.build());
}
}
variables:
testAutonomousDatabaseWallet:
fn::invoke:
Function: oci:Database:getAutonomousDatabaseWallet
Arguments:
autonomousDatabaseId: ${testAutonomousDatabase.id}
password: ${autonomousDatabaseWalletPassword}
base64EncodeContent: 'false'
generateType: ${autonomousDatabaseWalletGenerateType}
isRegional: ${autonomousDatabaseWalletIsRegional}
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:
- Autonomous
Database stringId - The database OCID.
- 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.
- Base64Encode
Content bool - Generate
Type string The type of wallet to generate.
Serverless instance usage:
SINGLE
- used to generate a wallet for a single databaseALL
- used to generate wallet for all databases in the region
Dedicated Exadata infrastructure usage: Value must be
NULL
if attribute is used.
- Autonomous
Database stringId - The database OCID.
- 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.
- Base64Encode
Content bool - Generate
Type string The type of wallet to generate.
Serverless instance usage:
SINGLE
- used to generate a wallet for a single databaseALL
- used to generate wallet for all databases in the region
Dedicated Exadata infrastructure usage: Value must be
NULL
if attribute is used.
- autonomous
Database StringId - The database OCID.
- 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.
- base64Encode
Content Boolean - generate
Type String The type of wallet to generate.
Serverless instance usage:
SINGLE
- used to generate a wallet for a single databaseALL
- used to generate wallet for all databases in the region
Dedicated Exadata infrastructure usage: Value must be
NULL
if attribute is used.
- autonomous
Database stringId - The database OCID.
- 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.
- base64Encode
Content boolean - generate
Type string The type of wallet to generate.
Serverless instance usage:
SINGLE
- used to generate a wallet for a single databaseALL
- used to generate wallet for all databases in the region
Dedicated Exadata infrastructure usage: Value must be
NULL
if attribute is used.
- autonomous_
database_ strid - The database OCID.
- 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_ boolcontent - generate_
type str The type of wallet to generate.
Serverless instance usage:
SINGLE
- used to generate a wallet for a single databaseALL
- used to generate wallet for all databases in the region
Dedicated Exadata infrastructure usage: Value must be
NULL
if attribute is used.
- autonomous
Database StringId - The database OCID.
- 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.
- base64Encode
Content Boolean - generate
Type String The type of wallet to generate.
Serverless instance usage:
SINGLE
- used to generate a wallet for a single databaseALL
- used to generate wallet for all databases in the region
Dedicated Exadata infrastructure usage: Value must be
NULL
if attribute is used.
getAutonomousDatabaseWallet Result
The following output properties are available:
- Autonomous
Database stringId - Content string
- content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded. - Id string
- The provider-assigned unique ID for this managed resource.
- Password string
- Base64Encode
Content bool - Generate
Type string
- Autonomous
Database stringId - Content string
- content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded. - Id string
- The provider-assigned unique ID for this managed resource.
- Password string
- Base64Encode
Content bool - Generate
Type string
- autonomous
Database StringId - content String
- content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded. - id String
- The provider-assigned unique ID for this managed resource.
- password String
- base64Encode
Content Boolean - generate
Type String
- autonomous
Database stringId - content string
- content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded. - id string
- The provider-assigned unique ID for this managed resource.
- password string
- base64Encode
Content boolean - generate
Type string
- autonomous_
database_ strid - content str
- content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded. - id str
- The provider-assigned unique ID for this managed resource.
- password str
- base64_
encode_ boolcontent - generate_
type str
- autonomous
Database StringId - content String
- content of the downloaded zipped wallet for the Autonomous Database. If
base64_encode_content
is set totrue
, then this content will be base64 encoded. - id String
- The provider-assigned unique ID for this managed resource.
- password String
- base64Encode
Content Boolean - generate
Type String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.