oci.Kms.KeyVersion
Explore with Pulumi AI
This resource provides the Key Version resource in Oracle Cloud Infrastructure Kms service.
Generates a new KeyVersion resource that provides new cryptographic
material for a master encryption key. The key must be in an ENABLED
state to be rotated.
As a management operation, this call is subject to a Key Management limit that applies to the total number of requests across all management write operations. Key Management might throttle this call to reject an otherwise valid request when the total rate of management write operations exceeds 10 requests per second for a given tenancy.
Create KeyVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KeyVersion(name: string, args: KeyVersionArgs, opts?: CustomResourceOptions);
@overload
def KeyVersion(resource_name: str,
args: KeyVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KeyVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
key_id: Optional[str] = None,
management_endpoint: Optional[str] = None,
external_key_version_id: Optional[str] = None,
time_of_deletion: Optional[str] = None)
func NewKeyVersion(ctx *Context, name string, args KeyVersionArgs, opts ...ResourceOption) (*KeyVersion, error)
public KeyVersion(string name, KeyVersionArgs args, CustomResourceOptions? opts = null)
public KeyVersion(String name, KeyVersionArgs args)
public KeyVersion(String name, KeyVersionArgs args, CustomResourceOptions options)
type: oci:Kms:KeyVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KeyVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KeyVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KeyVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KeyVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KeyVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var keyVersionResource = new Oci.Kms.KeyVersion("keyVersionResource", new()
{
KeyId = "string",
ManagementEndpoint = "string",
ExternalKeyVersionId = "string",
TimeOfDeletion = "string",
});
example, err := Kms.NewKeyVersion(ctx, "keyVersionResource", &Kms.KeyVersionArgs{
KeyId: pulumi.String("string"),
ManagementEndpoint: pulumi.String("string"),
ExternalKeyVersionId: pulumi.String("string"),
TimeOfDeletion: pulumi.String("string"),
})
var keyVersionResource = new KeyVersion("keyVersionResource", KeyVersionArgs.builder()
.keyId("string")
.managementEndpoint("string")
.externalKeyVersionId("string")
.timeOfDeletion("string")
.build());
key_version_resource = oci.kms.KeyVersion("keyVersionResource",
key_id="string",
management_endpoint="string",
external_key_version_id="string",
time_of_deletion="string")
const keyVersionResource = new oci.kms.KeyVersion("keyVersionResource", {
keyId: "string",
managementEndpoint: "string",
externalKeyVersionId: "string",
timeOfDeletion: "string",
});
type: oci:Kms:KeyVersion
properties:
externalKeyVersionId: string
keyId: string
managementEndpoint: string
timeOfDeletion: string
KeyVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The KeyVersion resource accepts the following input properties:
- 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.
- External
Key stringVersion Id - Key version ID associated with the external key.
- Time
Of stringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- External
Key stringVersion Id - Key version ID associated with the external key.
- Time
Of stringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- external
Key StringVersion Id - Key version ID associated with the external key.
- time
Of StringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- external
Key stringVersion Id - Key version ID associated with the external key.
- time
Of stringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- external_
key_ strversion_ id - Key version ID associated with the external key.
- time_
of_ strdeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- external
Key StringVersion Id - Key version ID associated with the external key.
- time
Of StringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the KeyVersion resource produces the following output properties:
- Compartment
Id string - The OCID of the compartment that contains this key version.
- External
Key List<KeyReference Details Version External Key Reference Detail> - Key reference data to be returned to the customer as a response.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Auto boolRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- Is
Primary bool - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- Key
Version stringId - Public
Key string - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- Replica
Details List<KeyVersion Replica Detail> - KeyVersion replica details
- Restored
From stringKey Id - Restored
From stringKey Version Id - The OCID of the key version from which this key version was restored.
- State string
- The key version's current lifecycle state. Example:
ENABLED
- Time
Created string - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- Vault
Id string - The OCID of the vault that contains this key version.
- Compartment
Id string - The OCID of the compartment that contains this key version.
- External
Key []KeyReference Details Version External Key Reference Detail - Key reference data to be returned to the customer as a response.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Auto boolRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- Is
Primary bool - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- Key
Version stringId - Public
Key string - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- Replica
Details []KeyVersion Replica Detail - KeyVersion replica details
- Restored
From stringKey Id - Restored
From stringKey Version Id - The OCID of the key version from which this key version was restored.
- State string
- The key version's current lifecycle state. Example:
ENABLED
- Time
Created string - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- Vault
Id string - The OCID of the vault that contains this key version.
- compartment
Id String - The OCID of the compartment that contains this key version.
- external
Key List<KeyReference Details Version External Key Reference Detail> - Key reference data to be returned to the customer as a response.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Auto BooleanRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is
Primary Boolean - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key
Version StringId - public
Key String - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica
Details List<KeyVersion Replica Detail> - KeyVersion replica details
- restored
From StringKey Id - restored
From StringKey Version Id - The OCID of the key version from which this key version was restored.
- state String
- The key version's current lifecycle state. Example:
ENABLED
- time
Created String - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- vault
Id String - The OCID of the vault that contains this key version.
- compartment
Id string - The OCID of the compartment that contains this key version.
- external
Key KeyReference Details Version External Key Reference Detail[] - Key reference data to be returned to the customer as a response.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Auto booleanRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is
Primary boolean - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key
Version stringId - public
Key string - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica
Details KeyVersion Replica Detail[] - KeyVersion replica details
- restored
From stringKey Id - restored
From stringKey Version Id - The OCID of the key version from which this key version was restored.
- state string
- The key version's current lifecycle state. Example:
ENABLED
- time
Created string - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- vault
Id string - The OCID of the vault that contains this key version.
- compartment_
id str - The OCID of the compartment that contains this key version.
- external_
key_ Sequence[kms.reference_ details Key Version External Key Reference Detail] - Key reference data to be returned to the customer as a response.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
auto_ boolrotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is_
primary bool - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key_
version_ strid - public_
key str - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica_
details Sequence[kms.Key Version Replica Detail] - KeyVersion replica details
- restored_
from_ strkey_ id - restored_
from_ strkey_ version_ id - The OCID of the key version from which this key version was restored.
- state str
- The key version's current lifecycle state. Example:
ENABLED
- time_
created str - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- vault_
id str - The OCID of the vault that contains this key version.
- compartment
Id String - The OCID of the compartment that contains this key version.
- external
Key List<Property Map>Reference Details - Key reference data to be returned to the customer as a response.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Auto BooleanRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is
Primary Boolean - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key
Version StringId - public
Key String - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica
Details List<Property Map> - KeyVersion replica details
- restored
From StringKey Id - restored
From StringKey Version Id - The OCID of the key version from which this key version was restored.
- state String
- The key version's current lifecycle state. Example:
ENABLED
- time
Created String - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- vault
Id String - The OCID of the vault that contains this key version.
Look up Existing KeyVersion Resource
Get an existing KeyVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KeyVersionState, opts?: CustomResourceOptions): KeyVersion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
external_key_reference_details: Optional[Sequence[_kms.KeyVersionExternalKeyReferenceDetailArgs]] = None,
external_key_version_id: Optional[str] = None,
is_auto_rotated: Optional[bool] = None,
is_primary: Optional[bool] = None,
key_id: Optional[str] = None,
key_version_id: Optional[str] = None,
management_endpoint: Optional[str] = None,
public_key: Optional[str] = None,
replica_details: Optional[Sequence[_kms.KeyVersionReplicaDetailArgs]] = None,
restored_from_key_id: Optional[str] = None,
restored_from_key_version_id: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_of_deletion: Optional[str] = None,
vault_id: Optional[str] = None) -> KeyVersion
func GetKeyVersion(ctx *Context, name string, id IDInput, state *KeyVersionState, opts ...ResourceOption) (*KeyVersion, error)
public static KeyVersion Get(string name, Input<string> id, KeyVersionState? state, CustomResourceOptions? opts = null)
public static KeyVersion get(String name, Output<String> id, KeyVersionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - The OCID of the compartment that contains this key version.
- External
Key List<KeyReference Details Version External Key Reference Detail> - Key reference data to be returned to the customer as a response.
- External
Key stringVersion Id - Key version ID associated with the external key.
- Is
Auto boolRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- Is
Primary bool - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- Key
Id string - The OCID of the key.
- Key
Version stringId - 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.
- Public
Key string - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- Replica
Details List<KeyVersion Replica Detail> - KeyVersion replica details
- Restored
From stringKey Id - Restored
From stringKey Version Id - The OCID of the key version from which this key version was restored.
- State string
- The key version's current lifecycle state. Example:
ENABLED
- Time
Created string - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- Time
Of stringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Vault
Id string - The OCID of the vault that contains this key version.
- Compartment
Id string - The OCID of the compartment that contains this key version.
- External
Key []KeyReference Details Version External Key Reference Detail Args - Key reference data to be returned to the customer as a response.
- External
Key stringVersion Id - Key version ID associated with the external key.
- Is
Auto boolRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- Is
Primary bool - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- Key
Id string - The OCID of the key.
- Key
Version stringId - 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.
- Public
Key string - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- Replica
Details []KeyVersion Replica Detail Args - KeyVersion replica details
- Restored
From stringKey Id - Restored
From stringKey Version Id - The OCID of the key version from which this key version was restored.
- State string
- The key version's current lifecycle state. Example:
ENABLED
- Time
Created string - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- Time
Of stringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Vault
Id string - The OCID of the vault that contains this key version.
- compartment
Id String - The OCID of the compartment that contains this key version.
- external
Key List<KeyReference Details Version External Key Reference Detail> - Key reference data to be returned to the customer as a response.
- external
Key StringVersion Id - Key version ID associated with the external key.
- is
Auto BooleanRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is
Primary Boolean - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key
Id String - The OCID of the key.
- key
Version StringId - 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.
- public
Key String - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica
Details List<KeyVersion Replica Detail> - KeyVersion replica details
- restored
From StringKey Id - restored
From StringKey Version Id - The OCID of the key version from which this key version was restored.
- state String
- The key version's current lifecycle state. Example:
ENABLED
- time
Created String - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- time
Of StringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- vault
Id String - The OCID of the vault that contains this key version.
- compartment
Id string - The OCID of the compartment that contains this key version.
- external
Key KeyReference Details Version External Key Reference Detail[] - Key reference data to be returned to the customer as a response.
- external
Key stringVersion Id - Key version ID associated with the external key.
- is
Auto booleanRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is
Primary boolean - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key
Id string - The OCID of the key.
- key
Version stringId - 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.
- public
Key string - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica
Details KeyVersion Replica Detail[] - KeyVersion replica details
- restored
From stringKey Id - restored
From stringKey Version Id - The OCID of the key version from which this key version was restored.
- state string
- The key version's current lifecycle state. Example:
ENABLED
- time
Created string - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- time
Of stringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- vault
Id string - The OCID of the vault that contains this key version.
- compartment_
id str - The OCID of the compartment that contains this key version.
- external_
key_ Sequence[kms.reference_ details Key Version External Key Reference Detail Args] - Key reference data to be returned to the customer as a response.
- external_
key_ strversion_ id - Key version ID associated with the external key.
- is_
auto_ boolrotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is_
primary bool - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key_
id str - The OCID of the key.
- key_
version_ strid - 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.
- public_
key str - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica_
details Sequence[kms.Key Version Replica Detail Args] - KeyVersion replica details
- restored_
from_ strkey_ id - restored_
from_ strkey_ version_ id - The OCID of the key version from which this key version was restored.
- state str
- The key version's current lifecycle state. Example:
ENABLED
- time_
created str - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- time_
of_ strdeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- vault_
id str - The OCID of the vault that contains this key version.
- compartment
Id String - The OCID of the compartment that contains this key version.
- external
Key List<Property Map>Reference Details - Key reference data to be returned to the customer as a response.
- external
Key StringVersion Id - Key version ID associated with the external key.
- is
Auto BooleanRotated - An optional property indicating whether this keyversion is generated from auto rotatation.
- is
Primary Boolean - A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.
- key
Id String - The OCID of the key.
- key
Version StringId - 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.
- public
Key String - The public key in PEM format. (This value pertains only to RSA and ECDSA keys.)
- replica
Details List<Property Map> - KeyVersion replica details
- restored
From StringKey Id - restored
From StringKey Version Id - The OCID of the key version from which this key version was restored.
- state String
- The key version's current lifecycle state. Example:
ENABLED
- time
Created String - The date and time this key version was created, expressed in RFC 3339 timestamp format. Example: "2018-04-03T21:10:29.600Z"
- time
Of StringDeletion (Updatable) An optional property for the deletion time of the key version, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- vault
Id String - The OCID of the vault that contains this key version.
Supporting Types
KeyVersionExternalKeyReferenceDetail, KeyVersionExternalKeyReferenceDetailArgs
- 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.
KeyVersionReplicaDetail, KeyVersionReplicaDetailArgs
- Replication
Id string - ReplicationId associated with a key version operation
- Replication
Id string - ReplicationId associated with a key version operation
- replication
Id String - ReplicationId associated with a key version operation
- replication
Id string - ReplicationId associated with a key version operation
- replication_
id str - ReplicationId associated with a key version operation
- replication
Id String - ReplicationId associated with a key version operation
Import
KeyVersions can be imported using the id
, e.g.
$ pulumi import oci:Kms/keyVersion:KeyVersion test_key_version "managementEndpoint/{managementEndpoint}/keys/{keyId}/keyVersions/{keyVersionId}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.