ibm.HpcsManagedKey
Explore with Pulumi AI
Provides a resource for managed_key. This allows managed_key to be created, updated and deleted.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const managedKeyInstance = new ibm.HpcsManagedKey("managedKeyInstance", {
instanceId: ibm_hpcs_vault.vault_instance.instance_id,
region: ibm_hpcs_vault.vault_instance.region,
ukoVault: ibm_hpcs_vault.vault_instance.vault_id,
vault: {
id: ibm_hpcs_vault.vault_instance.vault_id,
},
label: "terraformKey",
description: "example key",
templateName: ibm_hpcs_key_template.key_template_instance.name,
});
import pulumi
import pulumi_ibm as ibm
managed_key_instance = ibm.HpcsManagedKey("managedKeyInstance",
instance_id=ibm_hpcs_vault["vault_instance"]["instance_id"],
region=ibm_hpcs_vault["vault_instance"]["region"],
uko_vault=ibm_hpcs_vault["vault_instance"]["vault_id"],
vault={
"id": ibm_hpcs_vault["vault_instance"]["vault_id"],
},
label="terraformKey",
description="example key",
template_name=ibm_hpcs_key_template["key_template_instance"]["name"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewHpcsManagedKey(ctx, "managedKeyInstance", &ibm.HpcsManagedKeyArgs{
InstanceId: pulumi.Any(ibm_hpcs_vault.Vault_instance.Instance_id),
Region: pulumi.Any(ibm_hpcs_vault.Vault_instance.Region),
UkoVault: pulumi.Any(ibm_hpcs_vault.Vault_instance.Vault_id),
Vault: &ibm.HpcsManagedKeyVaultArgs{
Id: pulumi.Any(ibm_hpcs_vault.Vault_instance.Vault_id),
},
Label: pulumi.String("terraformKey"),
Description: pulumi.String("example key"),
TemplateName: pulumi.Any(ibm_hpcs_key_template.Key_template_instance.Name),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var managedKeyInstance = new Ibm.HpcsManagedKey("managedKeyInstance", new()
{
InstanceId = ibm_hpcs_vault.Vault_instance.Instance_id,
Region = ibm_hpcs_vault.Vault_instance.Region,
UkoVault = ibm_hpcs_vault.Vault_instance.Vault_id,
Vault = new Ibm.Inputs.HpcsManagedKeyVaultArgs
{
Id = ibm_hpcs_vault.Vault_instance.Vault_id,
},
Label = "terraformKey",
Description = "example key",
TemplateName = ibm_hpcs_key_template.Key_template_instance.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.HpcsManagedKey;
import com.pulumi.ibm.HpcsManagedKeyArgs;
import com.pulumi.ibm.inputs.HpcsManagedKeyVaultArgs;
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) {
var managedKeyInstance = new HpcsManagedKey("managedKeyInstance", HpcsManagedKeyArgs.builder()
.instanceId(ibm_hpcs_vault.vault_instance().instance_id())
.region(ibm_hpcs_vault.vault_instance().region())
.ukoVault(ibm_hpcs_vault.vault_instance().vault_id())
.vault(HpcsManagedKeyVaultArgs.builder()
.id(ibm_hpcs_vault.vault_instance().vault_id())
.build())
.label("terraformKey")
.description("example key")
.templateName(ibm_hpcs_key_template.key_template_instance().name())
.build());
}
}
resources:
managedKeyInstance:
type: ibm:HpcsManagedKey
properties:
instanceId: ${ibm_hpcs_vault.vault_instance.instance_id}
region: ${ibm_hpcs_vault.vault_instance.region}
ukoVault: ${ibm_hpcs_vault.vault_instance.vault_id}
vault:
id: ${ibm_hpcs_vault.vault_instance.vault_id}
label: terraformKey
description: example key
templateName: ${ibm_hpcs_key_template.key_template_instance.name}
Create HpcsManagedKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HpcsManagedKey(name: string, args: HpcsManagedKeyArgs, opts?: CustomResourceOptions);
@overload
def HpcsManagedKey(resource_name: str,
args: HpcsManagedKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HpcsManagedKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
label: Optional[str] = None,
region: Optional[str] = None,
template_name: Optional[str] = None,
uko_vault: Optional[str] = None,
vault: Optional[HpcsManagedKeyVaultArgs] = None,
description: Optional[str] = None,
hpcs_managed_key_id: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Sequence[HpcsManagedKeyTagArgs]] = None)
func NewHpcsManagedKey(ctx *Context, name string, args HpcsManagedKeyArgs, opts ...ResourceOption) (*HpcsManagedKey, error)
public HpcsManagedKey(string name, HpcsManagedKeyArgs args, CustomResourceOptions? opts = null)
public HpcsManagedKey(String name, HpcsManagedKeyArgs args)
public HpcsManagedKey(String name, HpcsManagedKeyArgs args, CustomResourceOptions options)
type: ibm:HpcsManagedKey
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 HpcsManagedKeyArgs
- 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 HpcsManagedKeyArgs
- 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 HpcsManagedKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HpcsManagedKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HpcsManagedKeyArgs
- 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 hpcsManagedKeyResource = new Ibm.HpcsManagedKey("hpcsManagedKeyResource", new()
{
InstanceId = "string",
Label = "string",
Region = "string",
TemplateName = "string",
UkoVault = "string",
Vault = new Ibm.Inputs.HpcsManagedKeyVaultArgs
{
Id = "string",
},
Description = "string",
HpcsManagedKeyId = "string",
State = "string",
Tags = new[]
{
new Ibm.Inputs.HpcsManagedKeyTagArgs
{
Name = "string",
Value = "string",
},
},
});
example, err := ibm.NewHpcsManagedKey(ctx, "hpcsManagedKeyResource", &ibm.HpcsManagedKeyArgs{
InstanceId: pulumi.String("string"),
Label: pulumi.String("string"),
Region: pulumi.String("string"),
TemplateName: pulumi.String("string"),
UkoVault: pulumi.String("string"),
Vault: &ibm.HpcsManagedKeyVaultArgs{
Id: pulumi.String("string"),
},
Description: pulumi.String("string"),
HpcsManagedKeyId: pulumi.String("string"),
State: pulumi.String("string"),
Tags: ibm.HpcsManagedKeyTagArray{
&ibm.HpcsManagedKeyTagArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var hpcsManagedKeyResource = new HpcsManagedKey("hpcsManagedKeyResource", HpcsManagedKeyArgs.builder()
.instanceId("string")
.label("string")
.region("string")
.templateName("string")
.ukoVault("string")
.vault(HpcsManagedKeyVaultArgs.builder()
.id("string")
.build())
.description("string")
.hpcsManagedKeyId("string")
.state("string")
.tags(HpcsManagedKeyTagArgs.builder()
.name("string")
.value("string")
.build())
.build());
hpcs_managed_key_resource = ibm.HpcsManagedKey("hpcsManagedKeyResource",
instance_id="string",
label="string",
region="string",
template_name="string",
uko_vault="string",
vault={
"id": "string",
},
description="string",
hpcs_managed_key_id="string",
state="string",
tags=[{
"name": "string",
"value": "string",
}])
const hpcsManagedKeyResource = new ibm.HpcsManagedKey("hpcsManagedKeyResource", {
instanceId: "string",
label: "string",
region: "string",
templateName: "string",
ukoVault: "string",
vault: {
id: "string",
},
description: "string",
hpcsManagedKeyId: "string",
state: "string",
tags: [{
name: "string",
value: "string",
}],
});
type: ibm:HpcsManagedKey
properties:
description: string
hpcsManagedKeyId: string
instanceId: string
label: string
region: string
state: string
tags:
- name: string
value: string
templateName: string
ukoVault: string
vault:
id: string
HpcsManagedKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HpcsManagedKey resource accepts the following input properties:
- Instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- Label string
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- Region string
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- Template
Name string - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Uko
Vault string - The UUID of the Vault in which the update is to take place.
- Vault
Hpcs
Managed Key Vault - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- Description string
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- Hpcs
Managed stringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- State string
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- List<Hpcs
Managed Key Tag> - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- Instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- Label string
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- Region string
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- Template
Name string - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Uko
Vault string - The UUID of the Vault in which the update is to take place.
- Vault
Hpcs
Managed Key Vault Args - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- Description string
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- Hpcs
Managed stringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- State string
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- []Hpcs
Managed Key Tag Args - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- instance
Id String - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- label String
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- region String
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- template
Name String - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- uko
Vault String - The UUID of the Vault in which the update is to take place.
- vault
Hpcs
Managed Key Vault - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- description String
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- hpcs
Managed StringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- state String
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- List<Hpcs
Managed Key Tag> - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- label string
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- region string
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- template
Name string - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- uko
Vault string - The UUID of the Vault in which the update is to take place.
- vault
Hpcs
Managed Key Vault - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- description string
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- hpcs
Managed stringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- state string
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- Hpcs
Managed Key Tag[] - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- instance_
id str - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- label str
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- region str
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- template_
name str - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- uko_
vault str - The UUID of the Vault in which the update is to take place.
- vault
Hpcs
Managed Key Vault Args - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- description str
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- hpcs_
managed_ strkey_ id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- state str
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- Sequence[Hpcs
Managed Key Tag Args] - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- instance
Id String - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- label String
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- region String
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- template
Name String - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- uko
Vault String - The UUID of the Vault in which the update is to take place.
- vault Property Map
- ID of the Vault where the entity is to be created in. Nested scheme for vault:
- description String
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- hpcs
Managed StringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- state String
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- List<Property Map>
- Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the HpcsManagedKey resource produces the following output properties:
- Activation
Date string - (String) First day when the key is active.
- Algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- Created
At string - (String) Date and time when the key was created.
- Created
By string - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for managed_key.
- Expiration
Date string - (String) Last day when the key is active.
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
List<Hpcs
Managed Key Instance> - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- Key
Id string - The unique identifier of the managed_key.
- Referenced
Keystores List<HpcsManaged Key Referenced Keystore> - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- Size string
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- Templates
List<Hpcs
Managed Key Template> - (List) Reference to a key template. Nested scheme for template:
- Updated
At string - (String) Date and time when the key was last updated.
- Updated
By string - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Verification
Patterns List<HpcsManaged Key Verification Pattern> - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- Activation
Date string - (String) First day when the key is active.
- Algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- Created
At string - (String) Date and time when the key was created.
- Created
By string - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for managed_key.
- Expiration
Date string - (String) Last day when the key is active.
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
[]Hpcs
Managed Key Instance - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- Key
Id string - The unique identifier of the managed_key.
- Referenced
Keystores []HpcsManaged Key Referenced Keystore - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- Size string
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- Templates
[]Hpcs
Managed Key Template - (List) Reference to a key template. Nested scheme for template:
- Updated
At string - (String) Date and time when the key was last updated.
- Updated
By string - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Verification
Patterns []HpcsManaged Key Verification Pattern - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation
Date String - (String) First day when the key is active.
- algorithm String
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created
At String - (String) Date and time when the key was created.
- created
By String - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for managed_key.
- expiration
Date String - (String) Last day when the key is active.
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- instances
List<Hpcs
Managed Key Instance> - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key
Id String - The unique identifier of the managed_key.
- referenced
Keystores List<HpcsManaged Key Referenced Keystore> - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- size String
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- templates
List<Hpcs
Managed Key Template> - (List) Reference to a key template. Nested scheme for template:
- updated
At String - (String) Date and time when the key was last updated.
- updated
By String - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- verification
Patterns List<HpcsManaged Key Verification Pattern> - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation
Date string - (String) First day when the key is active.
- algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created
At string - (String) Date and time when the key was created.
- created
By string - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- etag string
- ETag identifier for managed_key.
- expiration
Date string - (String) Last day when the key is active.
- href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- instances
Hpcs
Managed Key Instance[] - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key
Id string - The unique identifier of the managed_key.
- referenced
Keystores HpcsManaged Key Referenced Keystore[] - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- size string
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- templates
Hpcs
Managed Key Template[] - (List) Reference to a key template. Nested scheme for template:
- updated
At string - (String) Date and time when the key was last updated.
- updated
By string - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- verification
Patterns HpcsManaged Key Verification Pattern[] - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation_
date str - (String) First day when the key is active.
- algorithm str
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created_
at str - (String) Date and time when the key was created.
- created_
by str - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- etag str
- ETag identifier for managed_key.
- expiration_
date str - (String) Last day when the key is active.
- href str
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id str
- The provider-assigned unique ID for this managed resource.
- instances
Sequence[Hpcs
Managed Key Instance] - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key_
id str - The unique identifier of the managed_key.
- referenced_
keystores Sequence[HpcsManaged Key Referenced Keystore] - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- size str
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- templates
Sequence[Hpcs
Managed Key Template] - (List) Reference to a key template. Nested scheme for template:
- updated_
at str - (String) Date and time when the key was last updated.
- updated_
by str - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- verification_
patterns Sequence[HpcsManaged Key Verification Pattern] - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation
Date String - (String) First day when the key is active.
- algorithm String
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created
At String - (String) Date and time when the key was created.
- created
By String - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for managed_key.
- expiration
Date String - (String) Last day when the key is active.
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- instances List<Property Map>
- (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key
Id String - The unique identifier of the managed_key.
- referenced
Keystores List<Property Map> - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- size String
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- templates List<Property Map>
- (List) Reference to a key template. Nested scheme for template:
- updated
At String - (String) Date and time when the key was last updated.
- updated
By String - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- verification
Patterns List<Property Map> - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
Look up Existing HpcsManagedKey Resource
Get an existing HpcsManagedKey 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?: HpcsManagedKeyState, opts?: CustomResourceOptions): HpcsManagedKey
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
activation_date: Optional[str] = None,
algorithm: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
etag: Optional[str] = None,
expiration_date: Optional[str] = None,
hpcs_managed_key_id: Optional[str] = None,
href: Optional[str] = None,
instance_id: Optional[str] = None,
instances: Optional[Sequence[HpcsManagedKeyInstanceArgs]] = None,
key_id: Optional[str] = None,
label: Optional[str] = None,
referenced_keystores: Optional[Sequence[HpcsManagedKeyReferencedKeystoreArgs]] = None,
region: Optional[str] = None,
size: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Sequence[HpcsManagedKeyTagArgs]] = None,
template_name: Optional[str] = None,
templates: Optional[Sequence[HpcsManagedKeyTemplateArgs]] = None,
uko_vault: Optional[str] = None,
updated_at: Optional[str] = None,
updated_by: Optional[str] = None,
vault: Optional[HpcsManagedKeyVaultArgs] = None,
verification_patterns: Optional[Sequence[HpcsManagedKeyVerificationPatternArgs]] = None) -> HpcsManagedKey
func GetHpcsManagedKey(ctx *Context, name string, id IDInput, state *HpcsManagedKeyState, opts ...ResourceOption) (*HpcsManagedKey, error)
public static HpcsManagedKey Get(string name, Input<string> id, HpcsManagedKeyState? state, CustomResourceOptions? opts = null)
public static HpcsManagedKey get(String name, Output<String> id, HpcsManagedKeyState state, CustomResourceOptions options)
resources: _: type: ibm:HpcsManagedKey get: id: ${id}
- 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.
- Activation
Date string - (String) First day when the key is active.
- Algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- Created
At string - (String) Date and time when the key was created.
- Created
By string - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Description string
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for managed_key.
- Expiration
Date string - (String) Last day when the key is active.
- Hpcs
Managed stringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- Instances
List<Hpcs
Managed Key Instance> - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- Key
Id string - The unique identifier of the managed_key.
- Label string
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- Referenced
Keystores List<HpcsManaged Key Referenced Keystore> - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- Region string
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- Size string
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- State string
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- List<Hpcs
Managed Key Tag> - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- Template
Name string - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Templates
List<Hpcs
Managed Key Template> - (List) Reference to a key template. Nested scheme for template:
- Uko
Vault string - The UUID of the Vault in which the update is to take place.
- Updated
At string - (String) Date and time when the key was last updated.
- Updated
By string - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Vault
Hpcs
Managed Key Vault - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- Verification
Patterns List<HpcsManaged Key Verification Pattern> - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- Activation
Date string - (String) First day when the key is active.
- Algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- Created
At string - (String) Date and time when the key was created.
- Created
By string - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Description string
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for managed_key.
- Expiration
Date string - (String) Last day when the key is active.
- Hpcs
Managed stringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- Instances
[]Hpcs
Managed Key Instance Args - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- Key
Id string - The unique identifier of the managed_key.
- Label string
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- Referenced
Keystores []HpcsManaged Key Referenced Keystore Args - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- Region string
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- Size string
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- State string
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- []Hpcs
Managed Key Tag Args - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- Template
Name string - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Templates
[]Hpcs
Managed Key Template Args - (List) Reference to a key template. Nested scheme for template:
- Uko
Vault string - The UUID of the Vault in which the update is to take place.
- Updated
At string - (String) Date and time when the key was last updated.
- Updated
By string - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Vault
Hpcs
Managed Key Vault Args - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- Verification
Patterns []HpcsManaged Key Verification Pattern Args - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation
Date String - (String) First day when the key is active.
- algorithm String
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created
At String - (String) Date and time when the key was created.
- created
By String - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- description String
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for managed_key.
- expiration
Date String - (String) Last day when the key is active.
- hpcs
Managed StringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- instance
Id String - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- instances
List<Hpcs
Managed Key Instance> - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key
Id String - The unique identifier of the managed_key.
- label String
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- referenced
Keystores List<HpcsManaged Key Referenced Keystore> - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- region String
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- size String
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- state String
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- List<Hpcs
Managed Key Tag> - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- template
Name String - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- templates
List<Hpcs
Managed Key Template> - (List) Reference to a key template. Nested scheme for template:
- uko
Vault String - The UUID of the Vault in which the update is to take place.
- updated
At String - (String) Date and time when the key was last updated.
- updated
By String - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- vault
Hpcs
Managed Key Vault - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- verification
Patterns List<HpcsManaged Key Verification Pattern> - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation
Date string - (String) First day when the key is active.
- algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created
At string - (String) Date and time when the key was created.
- created
By string - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- description string
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- etag string
- ETag identifier for managed_key.
- expiration
Date string - (String) Last day when the key is active.
- hpcs
Managed stringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- instances
Hpcs
Managed Key Instance[] - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key
Id string - The unique identifier of the managed_key.
- label string
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- referenced
Keystores HpcsManaged Key Referenced Keystore[] - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- region string
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- size string
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- state string
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- Hpcs
Managed Key Tag[] - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- template
Name string - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- templates
Hpcs
Managed Key Template[] - (List) Reference to a key template. Nested scheme for template:
- uko
Vault string - The UUID of the Vault in which the update is to take place.
- updated
At string - (String) Date and time when the key was last updated.
- updated
By string - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- vault
Hpcs
Managed Key Vault - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- verification
Patterns HpcsManaged Key Verification Pattern[] - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation_
date str - (String) First day when the key is active.
- algorithm str
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created_
at str - (String) Date and time when the key was created.
- created_
by str - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- description str
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- etag str
- ETag identifier for managed_key.
- expiration_
date str - (String) Last day when the key is active.
- hpcs_
managed_ strkey_ id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href str
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- instance_
id str - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- instances
Sequence[Hpcs
Managed Key Instance Args] - (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key_
id str - The unique identifier of the managed_key.
- label str
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- referenced_
keystores Sequence[HpcsManaged Key Referenced Keystore Args] - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- region str
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- size str
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- state str
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- Sequence[Hpcs
Managed Key Tag Args] - Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- template_
name str - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- templates
Sequence[Hpcs
Managed Key Template Args] - (List) Reference to a key template. Nested scheme for template:
- uko_
vault str - The UUID of the Vault in which the update is to take place.
- updated_
at str - (String) Date and time when the key was last updated.
- updated_
by str - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- vault
Hpcs
Managed Key Vault Args - ID of the Vault where the entity is to be created in. Nested scheme for vault:
- verification_
patterns Sequence[HpcsManaged Key Verification Pattern Args] - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
- activation
Date String - (String) First day when the key is active.
- algorithm String
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- created
At String - (String) Date and time when the key was created.
- created
By String - (String) ID of the user that created the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- description String
- Description of the managed key.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/(.|\\n)*/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for managed_key.
- expiration
Date String - (String) Last day when the key is active.
- hpcs
Managed StringKey Id - (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- instance
Id String - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- instances List<Property Map>
- (List) key instances.
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for instances:
- Constraints: The maximum length is
- key
Id String - The unique identifier of the managed_key.
- label String
- The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- referenced
Keystores List<Property Map> - (List) referenced keystores.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for referenced_keystores:
- Constraints: The maximum length is
- region String
- Region of the UKO Instance
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
au-syd
,in-che
,jp-osa
,jp-tok
,kr-seo
,eu-de
,eu-gb
,ca-tor
,us-south
,us-south-test
,us-east
,br-sao
.
- Constraints: Must match the region of the UKO instance you are trying to work with. Allowable values are:
- size String
- (String) The size of the underlying cryptographic key or key pair. E.g. "256" for AES keys, or "2048" for RSA.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9]+$/
.
- Constraints: The maximum length is
- state String
- (String) The state of the key.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
,deactivated
,destroyed
.
- Constraints: The default value is
- List<Property Map>
- Key-value pairs associated with the key.
- Constraints: The maximum length is
128
items. The minimum length is0
items. Nested scheme for tags:
- Constraints: The maximum length is
- template
Name String - Name of the key template to use when creating a key.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- templates List<Property Map>
- (List) Reference to a key template. Nested scheme for template:
- uko
Vault String - The UUID of the Vault in which the update is to take place.
- updated
At String - (String) Date and time when the key was last updated.
- updated
By String - (String) ID of the user that last updated the key.
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- vault Property Map
- ID of the Vault where the entity is to be created in. Nested scheme for vault:
- verification
Patterns List<Property Map> - (List) A list of verification patterns of the key (e.g. public key hash for RSA keys).
- Constraints: The maximum length is
16
items. The minimum length is1
item. Nested scheme for verification_patterns:
- Constraints: The maximum length is
Supporting Types
HpcsManagedKeyInstance, HpcsManagedKeyInstanceArgs
- Google
Key stringProtection Level - (String)
- Constraints: Allowable values are:
software
,hsm
.
- Constraints: Allowable values are:
- Google
Key stringPurpose - (String)
- Constraints: Allowable values are:
encrypt_decrypt
,asymmetric_decrypt
,asymmetric_sign
,mac
.
- Constraints: Allowable values are:
- Google
Kms stringAlgorithm - (String)
- Constraints: Allowable values are:
google_symmetric_encryption
,ec_sign_p256_sha256
,ec_sign_p384_sha384
,ec_sign_secp256k1_sha256
,rsa_sign_pss_2048_sha256
,rsa_sign_pss_3072_sha256
,rsa_sign_pss_4096_sha256
,rsa_sign_pss_4096_sha512
,rsa_sign_pkcs1_2048_sha256
,rsa_sign_pkcs1_3072_sha256
,rsa_sign_pkcs1_4096_sha256
,rsa_sign_pkcs1_4096_sha512
,rsa_sign_raw_pkcs1_2048
,rsa_sign_raw_pkcs1_3072
,rsa_sign_raw_pkcs1_4096
,rsa_decrypt_oaep_2048_sha1
,rsa_decrypt_oaep_2048_sha256
,rsa_decrypt_oaep_3072_sha1
,rsa_decrypt_oaep_3072_sha256
,rsa_decrypt_oaep_4096_sha1
,rsa_decrypt_oaep_4096_sha256
,rsa_decrypt_oaep_4096_sha512
,hmac_sha256
.
- Constraints: Allowable values are:
- Id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Keystores
List<Hpcs
Managed Key Instance Keystore> - (List) Description of properties of a key within the context of keystores. Nested scheme for keystore:
- Label
In stringKeystore - (String) The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- Google
Key stringProtection Level - (String)
- Constraints: Allowable values are:
software
,hsm
.
- Constraints: Allowable values are:
- Google
Key stringPurpose - (String)
- Constraints: Allowable values are:
encrypt_decrypt
,asymmetric_decrypt
,asymmetric_sign
,mac
.
- Constraints: Allowable values are:
- Google
Kms stringAlgorithm - (String)
- Constraints: Allowable values are:
google_symmetric_encryption
,ec_sign_p256_sha256
,ec_sign_p384_sha384
,ec_sign_secp256k1_sha256
,rsa_sign_pss_2048_sha256
,rsa_sign_pss_3072_sha256
,rsa_sign_pss_4096_sha256
,rsa_sign_pss_4096_sha512
,rsa_sign_pkcs1_2048_sha256
,rsa_sign_pkcs1_3072_sha256
,rsa_sign_pkcs1_4096_sha256
,rsa_sign_pkcs1_4096_sha512
,rsa_sign_raw_pkcs1_2048
,rsa_sign_raw_pkcs1_3072
,rsa_sign_raw_pkcs1_4096
,rsa_decrypt_oaep_2048_sha1
,rsa_decrypt_oaep_2048_sha256
,rsa_decrypt_oaep_3072_sha1
,rsa_decrypt_oaep_3072_sha256
,rsa_decrypt_oaep_4096_sha1
,rsa_decrypt_oaep_4096_sha256
,rsa_decrypt_oaep_4096_sha512
,hmac_sha256
.
- Constraints: Allowable values are:
- Id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Keystores
[]Hpcs
Managed Key Instance Keystore - (List) Description of properties of a key within the context of keystores. Nested scheme for keystore:
- Label
In stringKeystore - (String) The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- google
Key StringProtection Level - (String)
- Constraints: Allowable values are:
software
,hsm
.
- Constraints: Allowable values are:
- google
Key StringPurpose - (String)
- Constraints: Allowable values are:
encrypt_decrypt
,asymmetric_decrypt
,asymmetric_sign
,mac
.
- Constraints: Allowable values are:
- google
Kms StringAlgorithm - (String)
- Constraints: Allowable values are:
google_symmetric_encryption
,ec_sign_p256_sha256
,ec_sign_p384_sha384
,ec_sign_secp256k1_sha256
,rsa_sign_pss_2048_sha256
,rsa_sign_pss_3072_sha256
,rsa_sign_pss_4096_sha256
,rsa_sign_pss_4096_sha512
,rsa_sign_pkcs1_2048_sha256
,rsa_sign_pkcs1_3072_sha256
,rsa_sign_pkcs1_4096_sha256
,rsa_sign_pkcs1_4096_sha512
,rsa_sign_raw_pkcs1_2048
,rsa_sign_raw_pkcs1_3072
,rsa_sign_raw_pkcs1_4096
,rsa_decrypt_oaep_2048_sha1
,rsa_decrypt_oaep_2048_sha256
,rsa_decrypt_oaep_3072_sha1
,rsa_decrypt_oaep_3072_sha256
,rsa_decrypt_oaep_4096_sha1
,rsa_decrypt_oaep_4096_sha256
,rsa_decrypt_oaep_4096_sha512
,hmac_sha256
.
- Constraints: Allowable values are:
- id String
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- keystores
List<Hpcs
Managed Key Instance Keystore> - (List) Description of properties of a key within the context of keystores. Nested scheme for keystore:
- label
In StringKeystore - (String) The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- type String
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- google
Key stringProtection Level - (String)
- Constraints: Allowable values are:
software
,hsm
.
- Constraints: Allowable values are:
- google
Key stringPurpose - (String)
- Constraints: Allowable values are:
encrypt_decrypt
,asymmetric_decrypt
,asymmetric_sign
,mac
.
- Constraints: Allowable values are:
- google
Kms stringAlgorithm - (String)
- Constraints: Allowable values are:
google_symmetric_encryption
,ec_sign_p256_sha256
,ec_sign_p384_sha384
,ec_sign_secp256k1_sha256
,rsa_sign_pss_2048_sha256
,rsa_sign_pss_3072_sha256
,rsa_sign_pss_4096_sha256
,rsa_sign_pss_4096_sha512
,rsa_sign_pkcs1_2048_sha256
,rsa_sign_pkcs1_3072_sha256
,rsa_sign_pkcs1_4096_sha256
,rsa_sign_pkcs1_4096_sha512
,rsa_sign_raw_pkcs1_2048
,rsa_sign_raw_pkcs1_3072
,rsa_sign_raw_pkcs1_4096
,rsa_decrypt_oaep_2048_sha1
,rsa_decrypt_oaep_2048_sha256
,rsa_decrypt_oaep_3072_sha1
,rsa_decrypt_oaep_3072_sha256
,rsa_decrypt_oaep_4096_sha1
,rsa_decrypt_oaep_4096_sha256
,rsa_decrypt_oaep_4096_sha512
,hmac_sha256
.
- Constraints: Allowable values are:
- id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- keystores
Hpcs
Managed Key Instance Keystore[] - (List) Description of properties of a key within the context of keystores. Nested scheme for keystore:
- label
In stringKeystore - (String) The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- google_
key_ strprotection_ level - (String)
- Constraints: Allowable values are:
software
,hsm
.
- Constraints: Allowable values are:
- google_
key_ strpurpose - (String)
- Constraints: Allowable values are:
encrypt_decrypt
,asymmetric_decrypt
,asymmetric_sign
,mac
.
- Constraints: Allowable values are:
- google_
kms_ stralgorithm - (String)
- Constraints: Allowable values are:
google_symmetric_encryption
,ec_sign_p256_sha256
,ec_sign_p384_sha384
,ec_sign_secp256k1_sha256
,rsa_sign_pss_2048_sha256
,rsa_sign_pss_3072_sha256
,rsa_sign_pss_4096_sha256
,rsa_sign_pss_4096_sha512
,rsa_sign_pkcs1_2048_sha256
,rsa_sign_pkcs1_3072_sha256
,rsa_sign_pkcs1_4096_sha256
,rsa_sign_pkcs1_4096_sha512
,rsa_sign_raw_pkcs1_2048
,rsa_sign_raw_pkcs1_3072
,rsa_sign_raw_pkcs1_4096
,rsa_decrypt_oaep_2048_sha1
,rsa_decrypt_oaep_2048_sha256
,rsa_decrypt_oaep_3072_sha1
,rsa_decrypt_oaep_3072_sha256
,rsa_decrypt_oaep_4096_sha1
,rsa_decrypt_oaep_4096_sha256
,rsa_decrypt_oaep_4096_sha512
,hmac_sha256
.
- Constraints: Allowable values are:
- id str
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- keystores
Sequence[Hpcs
Managed Key Instance Keystore] - (List) Description of properties of a key within the context of keystores. Nested scheme for keystore:
- label_
in_ strkeystore - (String) The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- type str
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- google
Key StringProtection Level - (String)
- Constraints: Allowable values are:
software
,hsm
.
- Constraints: Allowable values are:
- google
Key StringPurpose - (String)
- Constraints: Allowable values are:
encrypt_decrypt
,asymmetric_decrypt
,asymmetric_sign
,mac
.
- Constraints: Allowable values are:
- google
Kms StringAlgorithm - (String)
- Constraints: Allowable values are:
google_symmetric_encryption
,ec_sign_p256_sha256
,ec_sign_p384_sha384
,ec_sign_secp256k1_sha256
,rsa_sign_pss_2048_sha256
,rsa_sign_pss_3072_sha256
,rsa_sign_pss_4096_sha256
,rsa_sign_pss_4096_sha512
,rsa_sign_pkcs1_2048_sha256
,rsa_sign_pkcs1_3072_sha256
,rsa_sign_pkcs1_4096_sha256
,rsa_sign_pkcs1_4096_sha512
,rsa_sign_raw_pkcs1_2048
,rsa_sign_raw_pkcs1_3072
,rsa_sign_raw_pkcs1_4096
,rsa_decrypt_oaep_2048_sha1
,rsa_decrypt_oaep_2048_sha256
,rsa_decrypt_oaep_3072_sha1
,rsa_decrypt_oaep_3072_sha256
,rsa_decrypt_oaep_4096_sha1
,rsa_decrypt_oaep_4096_sha256
,rsa_decrypt_oaep_4096_sha512
,hmac_sha256
.
- Constraints: Allowable values are:
- id String
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- keystores List<Property Map>
- (List) Description of properties of a key within the context of keystores. Nested scheme for keystore:
- label
In StringKeystore - (String) The label of the key.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._ \/-]+$/
.
- Constraints: The maximum length is
- type String
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
HpcsManagedKeyInstanceKeystore, HpcsManagedKeyInstanceKeystoreArgs
- Group string
- (String)
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9_ -]+$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- Group string
- (String)
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9_ -]+$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- group String
- (String)
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9_ -]+$/
.
- Constraints: The maximum length is
- type String
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- group string
- (String)
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9_ -]+$/
.
- Constraints: The maximum length is
- type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- group String
- (String)
- Constraints: The maximum length is
100
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9_ -]+$/
.
- Constraints: The maximum length is
- type String
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
HpcsManagedKeyReferencedKeystore, HpcsManagedKeyReferencedKeystoreArgs
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Name string
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Name string
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- Type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id String
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name String
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- type String
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name string
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- type string
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- href str
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id str
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name str
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- type str
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id String
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name String
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- type String
- (String) Type of keystore.
- Constraints: Allowable values are:
aws_kms
,azure_key_vault
,ibm_cloud_kms
,google_kms
.
- Constraints: Allowable values are:
HpcsManagedKeyTag, HpcsManagedKeyTagArgs
- Name string
- Name of a tag.
- Constraints: The maximum length is
254
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9 -_]+$/
.
- Constraints: The maximum length is
- Value string
- Value of a tag.
- Constraints: The maximum length is
8192
characters. The minimum length is0
characters. The value must match regular expression/^(\\w|\\s)*$/
.
- Constraints: The maximum length is
- Name string
- Name of a tag.
- Constraints: The maximum length is
254
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9 -_]+$/
.
- Constraints: The maximum length is
- Value string
- Value of a tag.
- Constraints: The maximum length is
8192
characters. The minimum length is0
characters. The value must match regular expression/^(\\w|\\s)*$/
.
- Constraints: The maximum length is
- name String
- Name of a tag.
- Constraints: The maximum length is
254
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9 -_]+$/
.
- Constraints: The maximum length is
- value String
- Value of a tag.
- Constraints: The maximum length is
8192
characters. The minimum length is0
characters. The value must match regular expression/^(\\w|\\s)*$/
.
- Constraints: The maximum length is
- name string
- Name of a tag.
- Constraints: The maximum length is
254
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9 -_]+$/
.
- Constraints: The maximum length is
- value string
- Value of a tag.
- Constraints: The maximum length is
8192
characters. The minimum length is0
characters. The value must match regular expression/^(\\w|\\s)*$/
.
- Constraints: The maximum length is
- name str
- Name of a tag.
- Constraints: The maximum length is
254
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9 -_]+$/
.
- Constraints: The maximum length is
- value str
- Value of a tag.
- Constraints: The maximum length is
8192
characters. The minimum length is0
characters. The value must match regular expression/^(\\w|\\s)*$/
.
- Constraints: The maximum length is
- name String
- Name of a tag.
- Constraints: The maximum length is
254
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9 -_]+$/
.
- Constraints: The maximum length is
- value String
- Value of a tag.
- Constraints: The maximum length is
8192
characters. The minimum length is0
characters. The value must match regular expression/^(\\w|\\s)*$/
.
- Constraints: The maximum length is
HpcsManagedKeyTemplate, HpcsManagedKeyTemplateArgs
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Name string
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- Href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- Id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Name string
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id String
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name String
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- href string
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id string
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name string
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- href str
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id str
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name str
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
- href String
- (String) A URL that uniquely identifies your cloud resource.
- Constraints: The maximum length is
200
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9._~:\/?&=-]+$/
.
- Constraints: The maximum length is
- id String
- (String) The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- name String
- (String) Name of the key template.
- Constraints: The maximum length is
30
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z][A-Za-z0-9-]*$/
.
- Constraints: The maximum length is
HpcsManagedKeyVault, HpcsManagedKeyVaultArgs
- Id string
- The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Id string
- The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id String
- The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id string
- The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id str
- The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id String
- The v4 UUID used to uniquely identify the resource, as specified by RFC 4122.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
HpcsManagedKeyVerificationPattern, HpcsManagedKeyVerificationPatternArgs
- Method string
- (String) The method used for calculating the verification pattern.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Value string
- (String) The calculated value.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9+\/=]+$/
.
- Constraints: The maximum length is
- Method string
- (String) The method used for calculating the verification pattern.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- Value string
- (String) The calculated value.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9+\/=]+$/
.
- Constraints: The maximum length is
- method String
- (String) The method used for calculating the verification pattern.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- value String
- (String) The calculated value.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9+\/=]+$/
.
- Constraints: The maximum length is
- method string
- (String) The method used for calculating the verification pattern.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- value string
- (String) The calculated value.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9+\/=]+$/
.
- Constraints: The maximum length is
- method str
- (String) The method used for calculating the verification pattern.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- value str
- (String) The calculated value.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9+\/=]+$/
.
- Constraints: The maximum length is
- method String
- (String) The method used for calculating the verification pattern.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9-]+$/
.
- Constraints: The maximum length is
- value String
- (String) The calculated value.
- Constraints: The maximum length is
100
characters. The minimum length is0
characters. The value must match regular expression/^[A-Za-z0-9+\/=]+$/
.
- Constraints: The maximum length is
Import
You can import the ibm_hpcs_managed_key
resource by using region
, instance_id
, vault_id
, and key_id
.
Syntax
bash
$ pulumi import ibm:index/hpcsManagedKey:HpcsManagedKey key <region>/<instance_id>/<vault_id>/<key_id>
Example
$ pulumi import ibm:index/hpcsManagedKey:HpcsManagedKey key us-east/76195d24-8a31-4c6d-9050-c35f09375cfb/5295ad47-2ce9-43c3-b9e7-e5a9482c362b/d8cc1ef7-d13b-4731-95be-1f7c98c9f524
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.