ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getHpcsKeyTemplate
Explore with Pulumi AI
Provides a read-only data source for key_template. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const keyTemplate = ibm.getHpcsKeyTemplate({
instanceId: "76195d24-8a31-4c6d-9050-c35f09375cfb",
region: "us-east",
templateId: "d8cc1ef7-d13b-4731-95be-1f7c98c9f524",
ukoVault: ibm_hpcs_vault.vault.vault_id,
});
import pulumi
import pulumi_ibm as ibm
key_template = ibm.get_hpcs_key_template(instance_id="76195d24-8a31-4c6d-9050-c35f09375cfb",
region="us-east",
template_id="d8cc1ef7-d13b-4731-95be-1f7c98c9f524",
uko_vault=ibm_hpcs_vault["vault"]["vault_id"])
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.LookupHpcsKeyTemplate(ctx, &ibm.LookupHpcsKeyTemplateArgs{
InstanceId: "76195d24-8a31-4c6d-9050-c35f09375cfb",
Region: "us-east",
TemplateId: "d8cc1ef7-d13b-4731-95be-1f7c98c9f524",
UkoVault: ibm_hpcs_vault.Vault.Vault_id,
}, nil)
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 keyTemplate = Ibm.GetHpcsKeyTemplate.Invoke(new()
{
InstanceId = "76195d24-8a31-4c6d-9050-c35f09375cfb",
Region = "us-east",
TemplateId = "d8cc1ef7-d13b-4731-95be-1f7c98c9f524",
UkoVault = ibm_hpcs_vault.Vault.Vault_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetHpcsKeyTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var keyTemplate = IbmFunctions.getHpcsKeyTemplate(GetHpcsKeyTemplateArgs.builder()
.instanceId("76195d24-8a31-4c6d-9050-c35f09375cfb")
.region("us-east")
.templateId("d8cc1ef7-d13b-4731-95be-1f7c98c9f524")
.ukoVault(ibm_hpcs_vault.vault().vault_id())
.build());
}
}
variables:
keyTemplate:
fn::invoke:
function: ibm:getHpcsKeyTemplate
arguments:
instanceId: 76195d24-8a31-4c6d-9050-c35f09375cfb
region: us-east
templateId: d8cc1ef7-d13b-4731-95be-1f7c98c9f524
ukoVault: ${ibm_hpcs_vault.vault.vault_id}
Using getHpcsKeyTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHpcsKeyTemplate(args: GetHpcsKeyTemplateArgs, opts?: InvokeOptions): Promise<GetHpcsKeyTemplateResult>
function getHpcsKeyTemplateOutput(args: GetHpcsKeyTemplateOutputArgs, opts?: InvokeOptions): Output<GetHpcsKeyTemplateResult>
def get_hpcs_key_template(id: Optional[str] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None,
template_id: Optional[str] = None,
uko_vault: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHpcsKeyTemplateResult
def get_hpcs_key_template_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
template_id: Optional[pulumi.Input[str]] = None,
uko_vault: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHpcsKeyTemplateResult]
func LookupHpcsKeyTemplate(ctx *Context, args *LookupHpcsKeyTemplateArgs, opts ...InvokeOption) (*LookupHpcsKeyTemplateResult, error)
func LookupHpcsKeyTemplateOutput(ctx *Context, args *LookupHpcsKeyTemplateOutputArgs, opts ...InvokeOption) LookupHpcsKeyTemplateResultOutput
> Note: This function is named LookupHpcsKeyTemplate
in the Go SDK.
public static class GetHpcsKeyTemplate
{
public static Task<GetHpcsKeyTemplateResult> InvokeAsync(GetHpcsKeyTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetHpcsKeyTemplateResult> Invoke(GetHpcsKeyTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHpcsKeyTemplateResult> getHpcsKeyTemplate(GetHpcsKeyTemplateArgs args, InvokeOptions options)
public static Output<GetHpcsKeyTemplateResult> getHpcsKeyTemplate(GetHpcsKeyTemplateArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getHpcsKeyTemplate:getHpcsKeyTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- Region string
- Region of the UKO Instance
- Constraints: 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: Allowable values are:
- Template
Id string - UUID of the template.
- Uko
Vault string - The UUID of the Vault in which the update is to take place.
- 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
- Instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- Region string
- Region of the UKO Instance
- Constraints: 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: Allowable values are:
- Template
Id string - UUID of the template.
- Uko
Vault string - The UUID of the Vault in which the update is to take place.
- 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
- instance
Id String - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- region String
- Region of the UKO Instance
- Constraints: 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: Allowable values are:
- template
Id String - UUID of the template.
- uko
Vault String - The UUID of the Vault in which the update is to take place.
- 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
- instance
Id string - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- region string
- Region of the UKO Instance
- Constraints: 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: Allowable values are:
- template
Id string - UUID of the template.
- uko
Vault string - The UUID of the Vault in which the update is to take place.
- 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
- instance_
id str - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- region str
- Region of the UKO Instance
- Constraints: 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: Allowable values are:
- template_
id str - UUID of the template.
- uko_
vault str - The UUID of the Vault in which the update is to take place.
- 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
- instance
Id String - ID of UKO Instance
- Constraints: Must match the ID of the UKO instance you are trying to work with.
- region String
- Region of the UKO Instance
- Constraints: 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: Allowable values are:
- template
Id String - UUID of the template.
- uko
Vault String - The UUID of the Vault in which the update is to take place.
- 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
getHpcsKeyTemplate Result
The following output properties are available:
- Created
At string - (String) Date and time when the key template was created.
- Created
By string - (String) ID of the user that created the key template.
- 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
- (String) Description of the key template.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/.*/
.
- 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
- Instance
Id string - Keys
List<Get
Hpcs Key Template Key> - (List) Properties describing the properties of the managed key. Nested scheme for key:
- Keystores
List<Get
Hpcs Key Template Keystore> - (List)
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for keystores:
- Constraints: The maximum length is
- Name string
- (String) Name of the referenced vault.
- 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
- Region string
- Template
Id string - The unique identifier of the key_template.
- Uko
Vault string - Updated
At string - (String) Date and time when the key template was updated.
- Updated
By string - (String) ID of the user that 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
- Vaults
List<Get
Hpcs Key Template Vault> - (List) Reference to a vault. Nested scheme for vault:
- Version double
- (Integer) Version of the key template. Every time the key template is updated, the version will be updated automatically.
- Constraints: The maximum value is
2147483647
. The minimum value is1
.
- Constraints: The maximum value is
- Created
At string - (String) Date and time when the key template was created.
- Created
By string - (String) ID of the user that created the key template.
- 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
- (String) Description of the key template.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/.*/
.
- 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
- Instance
Id string - Keys
[]Get
Hpcs Key Template Key - (List) Properties describing the properties of the managed key. Nested scheme for key:
- Keystores
[]Get
Hpcs Key Template Keystore - (List)
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for keystores:
- Constraints: The maximum length is
- Name string
- (String) Name of the referenced vault.
- 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
- Region string
- Template
Id string - The unique identifier of the key_template.
- Uko
Vault string - Updated
At string - (String) Date and time when the key template was updated.
- Updated
By string - (String) ID of the user that 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
- Vaults
[]Get
Hpcs Key Template Vault - (List) Reference to a vault. Nested scheme for vault:
- Version float64
- (Integer) Version of the key template. Every time the key template is updated, the version will be updated automatically.
- Constraints: The maximum value is
2147483647
. The minimum value is1
.
- Constraints: The maximum value is
- created
At String - (String) Date and time when the key template was created.
- created
By String - (String) ID of the user that created the key template.
- 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
- (String) Description of the key template.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/.*/
.
- 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
- instance
Id String - keys
List<Get
Hpcs Key Template Key> - (List) Properties describing the properties of the managed key. Nested scheme for key:
- keystores
List<Get
Hpcs Key Template Keystore> - (List)
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for keystores:
- Constraints: The maximum length is
- name String
- (String) Name of the referenced vault.
- 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
- region String
- template
Id String - The unique identifier of the key_template.
- uko
Vault String - updated
At String - (String) Date and time when the key template was updated.
- updated
By String - (String) ID of the user that 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
- vaults
List<Get
Hpcs Key Template Vault> - (List) Reference to a vault. Nested scheme for vault:
- version Double
- (Integer) Version of the key template. Every time the key template is updated, the version will be updated automatically.
- Constraints: The maximum value is
2147483647
. The minimum value is1
.
- Constraints: The maximum value is
- created
At string - (String) Date and time when the key template was created.
- created
By string - (String) ID of the user that created the key template.
- 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
- (String) Description of the key template.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/.*/
.
- 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
- instance
Id string - keys
Get
Hpcs Key Template Key[] - (List) Properties describing the properties of the managed key. Nested scheme for key:
- keystores
Get
Hpcs Key Template Keystore[] - (List)
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for keystores:
- Constraints: The maximum length is
- name string
- (String) Name of the referenced vault.
- 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
- region string
- template
Id string - The unique identifier of the key_template.
- uko
Vault string - updated
At string - (String) Date and time when the key template was updated.
- updated
By string - (String) ID of the user that 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
- vaults
Get
Hpcs Key Template Vault[] - (List) Reference to a vault. Nested scheme for vault:
- version number
- (Integer) Version of the key template. Every time the key template is updated, the version will be updated automatically.
- Constraints: The maximum value is
2147483647
. The minimum value is1
.
- Constraints: The maximum value is
- created_
at str - (String) Date and time when the key template was created.
- created_
by str - (String) ID of the user that created the key template.
- 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
- (String) Description of the key template.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/.*/
.
- 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
- instance_
id str - keys
Sequence[Get
Hpcs Key Template Key] - (List) Properties describing the properties of the managed key. Nested scheme for key:
- keystores
Sequence[Get
Hpcs Key Template Keystore] - (List)
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for keystores:
- Constraints: The maximum length is
- name str
- (String) Name of the referenced vault.
- 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
- region str
- template_
id str - The unique identifier of the key_template.
- uko_
vault str - updated_
at str - (String) Date and time when the key template was updated.
- updated_
by str - (String) ID of the user that 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
- vaults
Sequence[Get
Hpcs Key Template Vault] - (List) Reference to a vault. Nested scheme for vault:
- version float
- (Integer) Version of the key template. Every time the key template is updated, the version will be updated automatically.
- Constraints: The maximum value is
2147483647
. The minimum value is1
.
- Constraints: The maximum value is
- created
At String - (String) Date and time when the key template was created.
- created
By String - (String) ID of the user that created the key template.
- 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
- (String) Description of the key template.
- Constraints: The maximum length is
200
characters. The minimum length is0
characters. The value must match regular expression/.*/
.
- 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
- instance
Id String - keys List<Property Map>
- (List) Properties describing the properties of the managed key. Nested scheme for key:
- keystores List<Property Map>
- (List)
- Constraints: The maximum length is
1
item. The minimum length is1
item. Nested scheme for keystores:
- Constraints: The maximum length is
- name String
- (String) Name of the referenced vault.
- 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
- region String
- template
Id String - The unique identifier of the key_template.
- uko
Vault String - updated
At String - (String) Date and time when the key template was updated.
- updated
By String - (String) ID of the user that 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
- vaults List<Property Map>
- (List) Reference to a vault. Nested scheme for vault:
- version Number
- (Integer) Version of the key template. Every time the key template is updated, the version will be updated automatically.
- Constraints: The maximum value is
2147483647
. The minimum value is1
.
- Constraints: The maximum value is
Supporting Types
GetHpcsKeyTemplateKey
- Activation
Date string - (String) Key activation date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- Constraints: The maximum length is
- Algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- Expiration
Date string - (String) Key expiration date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- 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
- State string
- (String) The state that the key will be in after generation.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
.
- Constraints: The default value is
- Activation
Date string - (String) Key activation date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- Constraints: The maximum length is
- Algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- Expiration
Date string - (String) Key expiration date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- 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
- State string
- (String) The state that the key will be in after generation.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
.
- Constraints: The default value is
- activation
Date String - (String) Key activation date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- Constraints: The maximum length is
- algorithm String
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- expiration
Date String - (String) Key expiration date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- 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
- state String
- (String) The state that the key will be in after generation.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
.
- Constraints: The default value is
- activation
Date string - (String) Key activation date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- Constraints: The maximum length is
- algorithm string
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- expiration
Date string - (String) Key expiration date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- 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
- state string
- (String) The state that the key will be in after generation.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
.
- Constraints: The default value is
- activation_
date str - (String) Key activation date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- Constraints: The maximum length is
- algorithm str
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- expiration_
date str - (String) Key expiration date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- 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
- state str
- (String) The state that the key will be in after generation.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
.
- Constraints: The default value is
- activation
Date String - (String) Key activation date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- Constraints: The maximum length is
- algorithm String
- (String) The algorithm of the key.
- Constraints: Allowable values are:
aes
,rsa
,hmac
,ec
.
- Constraints: Allowable values are:
- expiration
Date String - (String) Key expiration date can be provided as a period definition (e.g. PY1 means 1 year).
- Constraints: The maximum length is
100
characters. The minimum length is3
characters. The value must match regular expression/P^[0-9YMWD]+$/
.
- 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
- state String
- (String) The state that the key will be in after generation.
- Constraints: The default value is
active
. Allowable values are:pre_activation
,active
.
- Constraints: The default value is
GetHpcsKeyTemplateKeystore
- 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:
- Group string
- (String) Which keystore group to distribute the key to.
- Constraints: The maximum length is
200
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:
- 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:
- Group string
- (String) Which keystore group to distribute the key to.
- Constraints: The maximum length is
200
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:
- 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:
- group String
- (String) Which keystore group to distribute the key to.
- Constraints: The maximum length is
200
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:
- 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:
- group string
- (String) Which keystore group to distribute the key to.
- Constraints: The maximum length is
200
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:
- 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:
- group str
- (String) Which keystore group to distribute the key to.
- Constraints: The maximum length is
200
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 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:
- group String
- (String) Which keystore group to distribute the key to.
- Constraints: The maximum length is
200
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:
GetHpcsKeyTemplateVault
- 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 referenced vault.
- 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
- 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 referenced vault.
- 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
- 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 referenced vault.
- 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
- 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 referenced vault.
- 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
- 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 referenced vault.
- 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
- 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 referenced vault.
- 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
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.