Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getKeyStore

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

Gets information about the specified key store.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testKeyStore = Output.Create(Oci.Database.GetKeyStore.InvokeAsync(new Oci.Database.GetKeyStoreArgs
        {
            KeyStoreId = oci_database_key_store.Test_key_store.Id,
        }));
    }

}
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.GetKeyStore(ctx, &database.GetKeyStoreArgs{
			KeyStoreId: oci_database_key_store.Test_key_store.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_key_store = oci.Database.get_key_store(key_store_id=oci_database_key_store["test_key_store"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testKeyStore = oci.Database.getKeyStore({
    keyStoreId: oci_database_key_store.test_key_store.id,
});

Coming soon!

Using getKeyStore

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 getKeyStore(args: GetKeyStoreArgs, opts?: InvokeOptions): Promise<GetKeyStoreResult>
function getKeyStoreOutput(args: GetKeyStoreOutputArgs, opts?: InvokeOptions): Output<GetKeyStoreResult>
def get_key_store(key_store_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetKeyStoreResult
def get_key_store_output(key_store_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetKeyStoreResult]
func GetKeyStore(ctx *Context, args *GetKeyStoreArgs, opts ...InvokeOption) (*GetKeyStoreResult, error)
func GetKeyStoreOutput(ctx *Context, args *GetKeyStoreOutputArgs, opts ...InvokeOption) GetKeyStoreResultOutput

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

public static class GetKeyStore 
{
    public static Task<GetKeyStoreResult> InvokeAsync(GetKeyStoreArgs args, InvokeOptions? opts = null)
    public static Output<GetKeyStoreResult> Invoke(GetKeyStoreInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKeyStoreResult> getKeyStore(GetKeyStoreArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Database/getKeyStore:getKeyStore
  Arguments:
    # Arguments dictionary

The following arguments are supported:

KeyStoreId string

The OCID of the key store.

KeyStoreId string

The OCID of the key store.

keyStoreId String

The OCID of the key store.

keyStoreId string

The OCID of the key store.

key_store_id str

The OCID of the key store.

keyStoreId String

The OCID of the key store.

getKeyStore Result

The following output properties are available:

AssociatedDatabases List<GetKeyStoreAssociatedDatabase>

List of databases associated with the key store.

CompartmentId string

The OCID of the compartment.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

The user-friendly name for the key store. The name does not need to be unique.

FreeformTags Dictionary<string, object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the key store.

KeyStoreId string
LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current state of the key store.

TimeCreated string

The date and time that the key store was created.

TypeDetails List<GetKeyStoreTypeDetail>

Key store type details.

AssociatedDatabases []GetKeyStoreAssociatedDatabase

List of databases associated with the key store.

CompartmentId string

The OCID of the compartment.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

The user-friendly name for the key store. The name does not need to be unique.

FreeformTags map[string]interface{}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the key store.

KeyStoreId string
LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current state of the key store.

TimeCreated string

The date and time that the key store was created.

TypeDetails []GetKeyStoreTypeDetail

Key store type details.

associatedDatabases List<GetKeyStoreAssociated>

List of databases associated with the key store.

compartmentId String

The OCID of the compartment.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

The user-friendly name for the key store. The name does not need to be unique.

freeformTags Map<String,Object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the key store.

keyStoreId String
lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current state of the key store.

timeCreated String

The date and time that the key store was created.

typeDetails List<GetKeyStoreTypeDetail>

Key store type details.

associatedDatabases GetKeyStoreAssociatedDatabase[]

List of databases associated with the key store.

compartmentId string

The OCID of the compartment.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName string

The user-friendly name for the key store. The name does not need to be unique.

freeformTags {[key: string]: any}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id string

The OCID of the key store.

keyStoreId string
lifecycleDetails string

Additional information about the current lifecycle state.

state string

The current state of the key store.

timeCreated string

The date and time that the key store was created.

typeDetails GetKeyStoreTypeDetail[]

Key store type details.

associated_databases GetKeyStoreAssociatedDatabase]

List of databases associated with the key store.

compartment_id str

The OCID of the compartment.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

display_name str

The user-friendly name for the key store. The name does not need to be unique.

freeform_tags Mapping[str, Any]

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id str

The OCID of the key store.

key_store_id str
lifecycle_details str

Additional information about the current lifecycle state.

state str

The current state of the key store.

time_created str

The date and time that the key store was created.

type_details GetKeyStoreTypeDetail]

Key store type details.

associatedDatabases List<Property Map>

List of databases associated with the key store.

compartmentId String

The OCID of the compartment.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

The user-friendly name for the key store. The name does not need to be unique.

freeformTags Map<Any>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the key store.

keyStoreId String
lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current state of the key store.

timeCreated String

The date and time that the key store was created.

typeDetails List<Property Map>

Key store type details.

Supporting Types

GetKeyStoreAssociatedDatabase

DbName string

The name of the database that is associated with the key store.

Id string

The OCID of the key store.

DbName string

The name of the database that is associated with the key store.

Id string

The OCID of the key store.

dbName String

The name of the database that is associated with the key store.

id String

The OCID of the key store.

dbName string

The name of the database that is associated with the key store.

id string

The OCID of the key store.

db_name str

The name of the database that is associated with the key store.

id str

The OCID of the key store.

dbName String

The name of the database that is associated with the key store.

id String

The OCID of the key store.

GetKeyStoreTypeDetail

AdminUsername string

The administrator username to connect to Oracle Key Vault

ConnectionIps List<string>

The list of Oracle Key Vault connection IP addresses.

SecretId string

The OCID of the Oracle Cloud Infrastructure secret.

Type string

The type of key store.

VaultId string

The OCID of the Oracle Cloud Infrastructure vault.

AdminUsername string

The administrator username to connect to Oracle Key Vault

ConnectionIps []string

The list of Oracle Key Vault connection IP addresses.

SecretId string

The OCID of the Oracle Cloud Infrastructure secret.

Type string

The type of key store.

VaultId string

The OCID of the Oracle Cloud Infrastructure vault.

adminUsername String

The administrator username to connect to Oracle Key Vault

connectionIps List<String>

The list of Oracle Key Vault connection IP addresses.

secretId String

The OCID of the Oracle Cloud Infrastructure secret.

type String

The type of key store.

vaultId String

The OCID of the Oracle Cloud Infrastructure vault.

adminUsername string

The administrator username to connect to Oracle Key Vault

connectionIps string[]

The list of Oracle Key Vault connection IP addresses.

secretId string

The OCID of the Oracle Cloud Infrastructure secret.

type string

The type of key store.

vaultId string

The OCID of the Oracle Cloud Infrastructure vault.

admin_username str

The administrator username to connect to Oracle Key Vault

connection_ips Sequence[str]

The list of Oracle Key Vault connection IP addresses.

secret_id str

The OCID of the Oracle Cloud Infrastructure secret.

type str

The type of key store.

vault_id str

The OCID of the Oracle Cloud Infrastructure vault.

adminUsername String

The administrator username to connect to Oracle Key Vault

connectionIps List<String>

The list of Oracle Key Vault connection IP addresses.

secretId String

The OCID of the Oracle Cloud Infrastructure secret.

type String

The type of key store.

vaultId String

The OCID of the Oracle Cloud Infrastructure vault.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.