oci.Kms.getKey
Explore with Pulumi AI
This data source provides details about a specific Key resource in Oracle Cloud Infrastructure Kms service.
Gets information about the specified master encryption key.
As a management operation, this call is subject to a Key Management limit that applies to the total number of requests across all management read operations. Key Management might throttle this call to reject an otherwise valid request when the total rate of management read operations exceeds 10 requests per second for a given tenancy.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testKey = Oci.Kms.GetKey.Invoke(new()
{
KeyId = oci_kms_key.Test_key.Id,
ManagementEndpoint = @var.Key_management_endpoint,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Kms.GetKey(ctx, &kms.GetKeyArgs{
KeyId: oci_kms_key.Test_key.Id,
ManagementEndpoint: _var.Key_management_endpoint,
}, 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.Kms.KmsFunctions;
import com.pulumi.oci.Kms.inputs.GetKeyArgs;
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 testKey = KmsFunctions.getKey(GetKeyArgs.builder()
.keyId(oci_kms_key.test_key().id())
.managementEndpoint(var_.key_management_endpoint())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_key = oci.Kms.get_key(key_id=oci_kms_key["test_key"]["id"],
management_endpoint=var["key_management_endpoint"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testKey = oci.Kms.getKey({
keyId: oci_kms_key.test_key.id,
managementEndpoint: _var.key_management_endpoint,
});
variables:
testKey:
fn::invoke:
Function: oci:Kms:getKey
Arguments:
keyId: ${oci_kms_key.test_key.id}
managementEndpoint: ${var.key_management_endpoint}
Using getKey
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 getKey(args: GetKeyArgs, opts?: InvokeOptions): Promise<GetKeyResult>
function getKeyOutput(args: GetKeyOutputArgs, opts?: InvokeOptions): Output<GetKeyResult>
def get_key(key_id: Optional[str] = None,
management_endpoint: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKeyResult
def get_key_output(key_id: Optional[pulumi.Input[str]] = None,
management_endpoint: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKeyResult]
func GetKey(ctx *Context, args *GetKeyArgs, opts ...InvokeOption) (*GetKeyResult, error)
func GetKeyOutput(ctx *Context, args *GetKeyOutputArgs, opts ...InvokeOption) GetKeyResultOutput
> Note: This function is named GetKey
in the Go SDK.
public static class GetKey
{
public static Task<GetKeyResult> InvokeAsync(GetKeyArgs args, InvokeOptions? opts = null)
public static Output<GetKeyResult> Invoke(GetKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKeyResult> getKey(GetKeyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Kms/getKey:getKey
arguments:
# arguments dictionary
The following arguments are supported:
- Key
Id string The OCID of the key.
- Management
Endpoint string The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint.
- Key
Id string The OCID of the key.
- Management
Endpoint string The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint.
- key
Id String The OCID of the key.
- management
Endpoint String The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint.
- key
Id string The OCID of the key.
- management
Endpoint string The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint.
- key_
id str The OCID of the key.
- management_
endpoint str The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint.
- key
Id String The OCID of the key.
- management
Endpoint String The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint.
getKey Result
The following output properties are available:
- Compartment
Id string The OCID of the compartment that contains this master encryption key.
- Current
Key stringVersion The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The
currentKeyVersion
property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations.- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Desired
State string - Display
Name string A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- External
Key List<GetReference Details Key External Key Reference Detail> Key reference data to be returned to the customer as a response.
- External
Key List<GetReferences Key External Key Reference> - 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.
- Is
Primary bool A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.
- Key
Id string - Key
Shapes List<GetKey Key Shape> The cryptographic properties of a key.
- Management
Endpoint string - Protection
Mode string The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of
HSM
means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode ofSOFTWARE
means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode ofSOFTWARE
are performed on the server. By default, a key's protection mode is set toHSM
. You can't change a key's protection mode after the key is created or imported. A protection mode ofEXTERNAL
mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode ofEXTERNAL
are performed by external key manager.- Replica
Details List<GetKey Replica Detail> Key replica details
- Restore
From List<GetFiles Key Restore From File> Details where key was backed up.
- Restore
From List<GetObject Stores Key Restore From Object Store> Details where key was backed up
- Restore
Trigger bool When flipped, triggers restore if restore options are provided. Values of 0 or 1 are supported.
- Restored
From stringKey Id The OCID of the key from which this key was restored.
- State string
The key's current lifecycle state. Example:
ENABLED
- Time
Created string The date and time the key was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Time
Of stringDeletion An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- Vault
Id string The OCID of the vault that contains this key.
- Compartment
Id string The OCID of the compartment that contains this master encryption key.
- Current
Key stringVersion The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The
currentKeyVersion
property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations.- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Desired
State string - Display
Name string A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- External
Key []GetReference Details Key External Key Reference Detail Key reference data to be returned to the customer as a response.
- External
Key []GetReferences Key External Key Reference - 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.
- Is
Primary bool A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.
- Key
Id string - Key
Shapes []GetKey Key Shape The cryptographic properties of a key.
- Management
Endpoint string - Protection
Mode string The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of
HSM
means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode ofSOFTWARE
means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode ofSOFTWARE
are performed on the server. By default, a key's protection mode is set toHSM
. You can't change a key's protection mode after the key is created or imported. A protection mode ofEXTERNAL
mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode ofEXTERNAL
are performed by external key manager.- Replica
Details []GetKey Replica Detail Key replica details
- Restore
From []GetFiles Key Restore From File Details where key was backed up.
- Restore
From []GetObject Stores Key Restore From Object Store Details where key was backed up
- Restore
Trigger bool When flipped, triggers restore if restore options are provided. Values of 0 or 1 are supported.
- Restored
From stringKey Id The OCID of the key from which this key was restored.
- State string
The key's current lifecycle state. Example:
ENABLED
- Time
Created string The date and time the key was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Time
Of stringDeletion An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- Vault
Id string The OCID of the vault that contains this key.
- compartment
Id String The OCID of the compartment that contains this master encryption key.
- current
Key StringVersion The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The
currentKeyVersion
property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations.- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- desired
State String - display
Name String A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- external
Key List<GetReference Details Key External Key Reference Detail> Key reference data to be returned to the customer as a response.
- external
Key List<GetReferences Key External Key Reference> - 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.
- is
Primary Boolean A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.
- key
Id String - key
Shapes List<GetKey Key Shape> The cryptographic properties of a key.
- management
Endpoint String - protection
Mode String The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of
HSM
means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode ofSOFTWARE
means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode ofSOFTWARE
are performed on the server. By default, a key's protection mode is set toHSM
. You can't change a key's protection mode after the key is created or imported. A protection mode ofEXTERNAL
mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode ofEXTERNAL
are performed by external key manager.- replica
Details List<GetKey Replica Detail> Key replica details
- restore
From List<GetFiles Key Restore From File> Details where key was backed up.
- restore
From List<GetObject Stores Key Restore From Object Store> Details where key was backed up
- restore
Trigger Boolean When flipped, triggers restore if restore options are provided. Values of 0 or 1 are supported.
- restored
From StringKey Id The OCID of the key from which this key was restored.
- state String
The key's current lifecycle state. Example:
ENABLED
- time
Created String The date and time the key was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Of StringDeletion An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- vault
Id String The OCID of the vault that contains this key.
- compartment
Id string The OCID of the compartment that contains this master encryption key.
- current
Key stringVersion The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The
currentKeyVersion
property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations.- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- desired
State string - display
Name string A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- external
Key GetReference Details Key External Key Reference Detail[] Key reference data to be returned to the customer as a response.
- external
Key GetReferences Key External Key Reference[] - {[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.
- is
Primary boolean A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.
- key
Id string - key
Shapes GetKey Key Shape[] The cryptographic properties of a key.
- management
Endpoint string - protection
Mode string The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of
HSM
means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode ofSOFTWARE
means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode ofSOFTWARE
are performed on the server. By default, a key's protection mode is set toHSM
. You can't change a key's protection mode after the key is created or imported. A protection mode ofEXTERNAL
mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode ofEXTERNAL
are performed by external key manager.- replica
Details GetKey Replica Detail[] Key replica details
- restore
From GetFiles Key Restore From File[] Details where key was backed up.
- restore
From GetObject Stores Key Restore From Object Store[] Details where key was backed up
- restore
Trigger boolean When flipped, triggers restore if restore options are provided. Values of 0 or 1 are supported.
- restored
From stringKey Id The OCID of the key from which this key was restored.
- state string
The key's current lifecycle state. Example:
ENABLED
- time
Created string The date and time the key was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Of stringDeletion An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- vault
Id string The OCID of the vault that contains this key.
- compartment_
id str The OCID of the compartment that contains this master encryption key.
- current_
key_ strversion The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The
currentKeyVersion
property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations.- Mapping[str, Any]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- desired_
state str - display_
name str A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- external_
key_ Getreference_ details Key External Key Reference Detail] Key reference data to be returned to the customer as a response.
- external_
key_ Getreferences Key External Key Reference] - 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.
- is_
primary bool A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.
- key_
id str - key_
shapes GetKey Key Shape] The cryptographic properties of a key.
- management_
endpoint str - protection_
mode str The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of
HSM
means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode ofSOFTWARE
means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode ofSOFTWARE
are performed on the server. By default, a key's protection mode is set toHSM
. You can't change a key's protection mode after the key is created or imported. A protection mode ofEXTERNAL
mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode ofEXTERNAL
are performed by external key manager.- replica_
details GetKey Replica Detail] Key replica details
- restore_
from_ Getfiles Key Restore From File] Details where key was backed up.
- restore_
from_ Getobject_ stores Key Restore From Object Store] Details where key was backed up
- restore_
trigger bool When flipped, triggers restore if restore options are provided. Values of 0 or 1 are supported.
- restored_
from_ strkey_ id The OCID of the key from which this key was restored.
- state str
The key's current lifecycle state. Example:
ENABLED
- time_
created str The date and time the key was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time_
of_ strdeletion An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- vault_
id str The OCID of the vault that contains this key.
- compartment
Id String The OCID of the compartment that contains this master encryption key.
- current
Key StringVersion The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The
currentKeyVersion
property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations.- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- desired
State String - display
Name String A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.
- external
Key List<Property Map>Reference Details Key reference data to be returned to the customer as a response.
- external
Key List<Property Map>References - 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.
- is
Primary Boolean A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.
- key
Id String - key
Shapes List<Property Map> The cryptographic properties of a key.
- management
Endpoint String - protection
Mode String The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of
HSM
means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode ofSOFTWARE
means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode ofSOFTWARE
are performed on the server. By default, a key's protection mode is set toHSM
. You can't change a key's protection mode after the key is created or imported. A protection mode ofEXTERNAL
mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode ofEXTERNAL
are performed by external key manager.- replica
Details List<Property Map> Key replica details
- restore
From List<Property Map>Files Details where key was backed up.
- restore
From List<Property Map>Object Stores Details where key was backed up
- restore
Trigger Boolean When flipped, triggers restore if restore options are provided. Values of 0 or 1 are supported.
- restored
From StringKey Id The OCID of the key from which this key was restored.
- state String
The key's current lifecycle state. Example:
ENABLED
- time
Created String The date and time the key was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Of StringDeletion An optional property indicating when to delete the key, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- vault
Id String The OCID of the vault that contains this key.
Supporting Types
GetKeyExternalKeyReference
- External
Key stringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- External
Key stringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external
Key StringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external
Key stringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external_
key_ strid ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external
Key StringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
GetKeyExternalKeyReferenceDetail
- External
Key stringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- External
Key stringVersion Id Key version ID associated with the external key.
- External
Key stringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- External
Key stringVersion Id Key version ID associated with the external key.
- external
Key StringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external
Key StringVersion Id Key version ID associated with the external key.
- external
Key stringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external
Key stringVersion Id Key version ID associated with the external key.
- external_
key_ strid ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external_
key_ strversion_ id Key version ID associated with the external key.
- external
Key StringId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.
- external
Key StringVersion Id Key version ID associated with the external key.
GetKeyKeyShape
- Algorithm string
The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for
External
keys.- Curve
Id string Supported curve IDs for ECDSA keys.
- Length int
The length of the key in bytes, expressed as an integer. Supported values include the following:
- AES: 16, 24, or 32
- RSA: 256, 384, or 512
- ECDSA: 32, 48, or 66
- Algorithm string
The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for
External
keys.- Curve
Id string Supported curve IDs for ECDSA keys.
- Length int
The length of the key in bytes, expressed as an integer. Supported values include the following:
- AES: 16, 24, or 32
- RSA: 256, 384, or 512
- ECDSA: 32, 48, or 66
- algorithm String
The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for
External
keys.- curve
Id String Supported curve IDs for ECDSA keys.
- length Integer
The length of the key in bytes, expressed as an integer. Supported values include the following:
- AES: 16, 24, or 32
- RSA: 256, 384, or 512
- ECDSA: 32, 48, or 66
- algorithm string
The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for
External
keys.- curve
Id string Supported curve IDs for ECDSA keys.
- length number
The length of the key in bytes, expressed as an integer. Supported values include the following:
- AES: 16, 24, or 32
- RSA: 256, 384, or 512
- ECDSA: 32, 48, or 66
- algorithm str
The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for
External
keys.- curve_
id str Supported curve IDs for ECDSA keys.
- length int
The length of the key in bytes, expressed as an integer. Supported values include the following:
- AES: 16, 24, or 32
- RSA: 256, 384, or 512
- ECDSA: 32, 48, or 66
- algorithm String
The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for
External
keys.- curve
Id String Supported curve IDs for ECDSA keys.
- length Number
The length of the key in bytes, expressed as an integer. Supported values include the following:
- AES: 16, 24, or 32
- RSA: 256, 384, or 512
- ECDSA: 32, 48, or 66
GetKeyReplicaDetail
- Replication
Id string ReplicationId associated with a key operation
- Replication
Id string ReplicationId associated with a key operation
- replication
Id String ReplicationId associated with a key operation
- replication
Id string ReplicationId associated with a key operation
- replication_
id str ReplicationId associated with a key operation
- replication
Id String ReplicationId associated with a key operation
GetKeyRestoreFromFile
- Content
Length string content length of key's backup binary file
- Content
Md5 string content md5 hashed value of key's backup file
- Restore
Key stringFrom File Details Key backup file content
- Content
Length string content length of key's backup binary file
- Content
Md5 string content md5 hashed value of key's backup file
- Restore
Key stringFrom File Details Key backup file content
- content
Length String content length of key's backup binary file
- content
Md5 String content md5 hashed value of key's backup file
- restore
Key StringFrom File Details Key backup file content
- content
Length string content length of key's backup binary file
- content
Md5 string content md5 hashed value of key's backup file
- restore
Key stringFrom File Details Key backup file content
- content_
length str content length of key's backup binary file
- content_
md5 str content md5 hashed value of key's backup file
- restore_
key_ strfrom_ file_ details Key backup file content
- content
Length String content length of key's backup binary file
- content
Md5 String content md5 hashed value of key's backup file
- restore
Key StringFrom File Details Key backup file content
GetKeyRestoreFromObjectStore
- Bucket string
Name of the bucket where key was backed up
- Destination string
Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported
- Namespace string
Namespace of the bucket where key was backed up
- Object string
Object containing the backup
- Uri string
Pre-authenticated-request-uri of the backup
- Bucket string
Name of the bucket where key was backed up
- Destination string
Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported
- Namespace string
Namespace of the bucket where key was backed up
- Object string
Object containing the backup
- Uri string
Pre-authenticated-request-uri of the backup
- bucket String
Name of the bucket where key was backed up
- destination String
Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported
- namespace String
Namespace of the bucket where key was backed up
- object String
Object containing the backup
- uri String
Pre-authenticated-request-uri of the backup
- bucket string
Name of the bucket where key was backed up
- destination string
Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported
- namespace string
Namespace of the bucket where key was backed up
- object string
Object containing the backup
- uri string
Pre-authenticated-request-uri of the backup
- bucket str
Name of the bucket where key was backed up
- destination str
Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported
- namespace str
Namespace of the bucket where key was backed up
- object str
Object containing the backup
- uri str
Pre-authenticated-request-uri of the backup
- bucket String
Name of the bucket where key was backed up
- destination String
Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported
- namespace String
Namespace of the bucket where key was backed up
- object String
Object containing the backup
- uri String
Pre-authenticated-request-uri of the backup
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.