ibm.Hpcs
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const hpcs = new ibm.Hpcs("hpcs", {
admins: [
{
key: "/cloudTKE/1.sigkey",
name: "admin1",
token: "<sensitive1234>",
},
{
key: "/cloudTKE/2.sigkey",
name: "admin2",
token: "<sensitive1234>",
},
],
location: "us-south",
plan: "standard",
revocationThreshold: 1,
signatureThreshold: 1,
units: 2,
});
import pulumi
import pulumi_ibm as ibm
hpcs = ibm.Hpcs("hpcs",
admins=[
{
"key": "/cloudTKE/1.sigkey",
"name": "admin1",
"token": "<sensitive1234>",
},
{
"key": "/cloudTKE/2.sigkey",
"name": "admin2",
"token": "<sensitive1234>",
},
],
location="us-south",
plan="standard",
revocation_threshold=1,
signature_threshold=1,
units=2)
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.NewHpcs(ctx, "hpcs", &ibm.HpcsArgs{
Admins: ibm.HpcsAdminArray{
&ibm.HpcsAdminArgs{
Key: pulumi.String("/cloudTKE/1.sigkey"),
Name: pulumi.String("admin1"),
Token: pulumi.String("<sensitive1234>"),
},
&ibm.HpcsAdminArgs{
Key: pulumi.String("/cloudTKE/2.sigkey"),
Name: pulumi.String("admin2"),
Token: pulumi.String("<sensitive1234>"),
},
},
Location: pulumi.String("us-south"),
Plan: pulumi.String("standard"),
RevocationThreshold: pulumi.Float64(1),
SignatureThreshold: pulumi.Float64(1),
Units: pulumi.Float64(2),
})
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 hpcs = new Ibm.Hpcs("hpcs", new()
{
Admins = new[]
{
new Ibm.Inputs.HpcsAdminArgs
{
Key = "/cloudTKE/1.sigkey",
Name = "admin1",
Token = "<sensitive1234>",
},
new Ibm.Inputs.HpcsAdminArgs
{
Key = "/cloudTKE/2.sigkey",
Name = "admin2",
Token = "<sensitive1234>",
},
},
Location = "us-south",
Plan = "standard",
RevocationThreshold = 1,
SignatureThreshold = 1,
Units = 2,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.Hpcs;
import com.pulumi.ibm.HpcsArgs;
import com.pulumi.ibm.inputs.HpcsAdminArgs;
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 hpcs = new Hpcs("hpcs", HpcsArgs.builder()
.admins(
HpcsAdminArgs.builder()
.key("/cloudTKE/1.sigkey")
.name("admin1")
.token("<sensitive1234>")
.build(),
HpcsAdminArgs.builder()
.key("/cloudTKE/2.sigkey")
.name("admin2")
.token("<sensitive1234>")
.build())
.location("us-south")
.plan("standard")
.revocationThreshold(1)
.signatureThreshold(1)
.units(2)
.build());
}
}
resources:
hpcs:
type: ibm:Hpcs
properties:
admins:
- key: /cloudTKE/1.sigkey
name: admin1
token: <sensitive1234>
- key: /cloudTKE/2.sigkey
name: admin2
token: <sensitive1234>
location: us-south
plan: standard
revocationThreshold: 1
signatureThreshold: 1
units: 2
Create Hpcs Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Hpcs(name: string, args: HpcsArgs, opts?: CustomResourceOptions);
@overload
def Hpcs(resource_name: str,
args: HpcsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Hpcs(resource_name: str,
opts: Optional[ResourceOptions] = None,
admins: Optional[Sequence[HpcsAdminArgs]] = None,
units: Optional[float] = None,
signature_threshold: Optional[float] = None,
location: Optional[str] = None,
revocation_threshold: Optional[float] = None,
plan: Optional[str] = None,
resource_group_id: Optional[str] = None,
name: Optional[str] = None,
service: Optional[str] = None,
service_endpoints: Optional[str] = None,
signature_server_url: Optional[str] = None,
hpcs_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[HpcsTimeoutsArgs] = None,
failover_units: Optional[float] = None)
func NewHpcs(ctx *Context, name string, args HpcsArgs, opts ...ResourceOption) (*Hpcs, error)
public Hpcs(string name, HpcsArgs args, CustomResourceOptions? opts = null)
type: ibm:Hpcs
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 HpcsArgs
- 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 HpcsArgs
- 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 HpcsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HpcsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HpcsArgs
- 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 hpcsResource = new Ibm.Hpcs("hpcsResource", new()
{
Admins = new[]
{
new Ibm.Inputs.HpcsAdminArgs
{
Key = "string",
Name = "string",
Token = "string",
},
},
Units = 0,
SignatureThreshold = 0,
Location = "string",
RevocationThreshold = 0,
Plan = "string",
ResourceGroupId = "string",
Name = "string",
Service = "string",
ServiceEndpoints = "string",
SignatureServerUrl = "string",
HpcsId = "string",
Tags = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.HpcsTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
FailoverUnits = 0,
});
example, err := ibm.NewHpcs(ctx, "hpcsResource", &ibm.HpcsArgs{
Admins: ibm.HpcsAdminArray{
&ibm.HpcsAdminArgs{
Key: pulumi.String("string"),
Name: pulumi.String("string"),
Token: pulumi.String("string"),
},
},
Units: pulumi.Float64(0),
SignatureThreshold: pulumi.Float64(0),
Location: pulumi.String("string"),
RevocationThreshold: pulumi.Float64(0),
Plan: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
Service: pulumi.String("string"),
ServiceEndpoints: pulumi.String("string"),
SignatureServerUrl: pulumi.String("string"),
HpcsId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.HpcsTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
FailoverUnits: pulumi.Float64(0),
})
var hpcsResource = new Hpcs("hpcsResource", HpcsArgs.builder()
.admins(HpcsAdminArgs.builder()
.key("string")
.name("string")
.token("string")
.build())
.units(0)
.signatureThreshold(0)
.location("string")
.revocationThreshold(0)
.plan("string")
.resourceGroupId("string")
.name("string")
.service("string")
.serviceEndpoints("string")
.signatureServerUrl("string")
.hpcsId("string")
.tags("string")
.timeouts(HpcsTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.failoverUnits(0)
.build());
hpcs_resource = ibm.Hpcs("hpcsResource",
admins=[{
"key": "string",
"name": "string",
"token": "string",
}],
units=0,
signature_threshold=0,
location="string",
revocation_threshold=0,
plan="string",
resource_group_id="string",
name="string",
service="string",
service_endpoints="string",
signature_server_url="string",
hpcs_id="string",
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
failover_units=0)
const hpcsResource = new ibm.Hpcs("hpcsResource", {
admins: [{
key: "string",
name: "string",
token: "string",
}],
units: 0,
signatureThreshold: 0,
location: "string",
revocationThreshold: 0,
plan: "string",
resourceGroupId: "string",
name: "string",
service: "string",
serviceEndpoints: "string",
signatureServerUrl: "string",
hpcsId: "string",
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
failoverUnits: 0,
});
type: ibm:Hpcs
properties:
admins:
- key: string
name: string
token: string
failoverUnits: 0
hpcsId: string
location: string
name: string
plan: string
resourceGroupId: string
revocationThreshold: 0
service: string
serviceEndpoints: string
signatureServerUrl: string
signatureThreshold: 0
tags:
- string
timeouts:
create: string
delete: string
update: string
units: 0
Hpcs 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 Hpcs resource accepts the following input properties:
- Admins
List<Hpcs
Admin> - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - Location string
- The location where the HPCS instance available
- Plan string
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- Revocation
Threshold double - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - Signature
Threshold double - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- Units double
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - Failover
Units double - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - Hpcs
Id string - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Name string
- The name of your Hyper Protect Crypto Services instance.
- Resource
Group stringId - The ID of resource group where you want to organize and manage your service instance.
- Service string
- (String) The service type (
hs-crypto
) of the instance. - Service
Endpoints string - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - Signature
Server stringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- List<string>
- Tags that are associated with your instance are used to organize your resources.
- Timeouts
Hpcs
Timeouts
- Admins
[]Hpcs
Admin Args - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - Location string
- The location where the HPCS instance available
- Plan string
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- Revocation
Threshold float64 - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - Signature
Threshold float64 - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- Units float64
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - Failover
Units float64 - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - Hpcs
Id string - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Name string
- The name of your Hyper Protect Crypto Services instance.
- Resource
Group stringId - The ID of resource group where you want to organize and manage your service instance.
- Service string
- (String) The service type (
hs-crypto
) of the instance. - Service
Endpoints string - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - Signature
Server stringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- []string
- Tags that are associated with your instance are used to organize your resources.
- Timeouts
Hpcs
Timeouts Args
- admins
List<Hpcs
Admin> - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - location String
- The location where the HPCS instance available
- plan String
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- revocation
Threshold Double - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature
Threshold Double - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- units Double
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - failover
Units Double - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - hpcs
Id String - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- name String
- The name of your Hyper Protect Crypto Services instance.
- resource
Group StringId - The ID of resource group where you want to organize and manage your service instance.
- service String
- (String) The service type (
hs-crypto
) of the instance. - service
Endpoints String - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature
Server StringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- List<String>
- Tags that are associated with your instance are used to organize your resources.
- timeouts
Hpcs
Timeouts
- admins
Hpcs
Admin[] - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - location string
- The location where the HPCS instance available
- plan string
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- revocation
Threshold number - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature
Threshold number - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- units number
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - failover
Units number - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - hpcs
Id string - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- name string
- The name of your Hyper Protect Crypto Services instance.
- resource
Group stringId - The ID of resource group where you want to organize and manage your service instance.
- service string
- (String) The service type (
hs-crypto
) of the instance. - service
Endpoints string - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature
Server stringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- string[]
- Tags that are associated with your instance are used to organize your resources.
- timeouts
Hpcs
Timeouts
- admins
Sequence[Hpcs
Admin Args] - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - location str
- The location where the HPCS instance available
- plan str
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- revocation_
threshold float - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature_
threshold float - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- units float
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - failover_
units float - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - hpcs_
id str - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- name str
- The name of your Hyper Protect Crypto Services instance.
- resource_
group_ strid - The ID of resource group where you want to organize and manage your service instance.
- service str
- (String) The service type (
hs-crypto
) of the instance. - service_
endpoints str - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature_
server_ strurl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- Sequence[str]
- Tags that are associated with your instance are used to organize your resources.
- timeouts
Hpcs
Timeouts Args
- admins List<Property Map>
- The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - location String
- The location where the HPCS instance available
- plan String
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- revocation
Threshold Number - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature
Threshold Number - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- units Number
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - failover
Units Number - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - hpcs
Id String - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- name String
- The name of your Hyper Protect Crypto Services instance.
- resource
Group StringId - The ID of resource group where you want to organize and manage your service instance.
- service String
- (String) The service type (
hs-crypto
) of the instance. - service
Endpoints String - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature
Server StringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- List<String>
- Tags that are associated with your instance are used to organize your resources.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Hpcs resource produces the following output properties:
- Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the Hyper Protect Crypto Services instance.
- Dashboard
Url string - Dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Extensions Dictionary<string, string>
- (List) The extended metadata as a map associated with the resource instance.
- Guid string
- (String) Unique identifier of resource instance.
- Hsm
Infos List<HpcsHsm Info> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- State string
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- Status string
- (String) Status of the hpcs instance.
- Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the Hyper Protect Crypto Services instance.
- Dashboard
Url string - Dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Extensions map[string]string
- (List) The extended metadata as a map associated with the resource instance.
- Guid string
- (String) Unique identifier of resource instance.
- Hsm
Infos []HpcsHsm Info - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- State string
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- Status string
- (String) Status of the hpcs instance.
- Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard
Url String - Dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- extensions Map<String,String>
- (List) The extended metadata as a map associated with the resource instance.
- guid String
- (String) Unique identifier of resource instance.
- hsm
Infos List<HpcsHsm Info> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id String
- The provider-assigned unique ID for this managed resource.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- state String
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status String
- (String) Status of the hpcs instance.
- update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
- created
At string - (String) The date when the instance was created.
- created
By string - (String) The subject who created the instance.
- crn string
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard
Url string - Dashboard URL to access resource.
- deleted
At string - (String) The date when the instance was deleted.
- deleted
By string - (String) The subject who deleted the instance.
- extensions {[key: string]: string}
- (List) The extended metadata as a map associated with the resource instance.
- guid string
- (String) Unique identifier of resource instance.
- hsm
Infos HpcsHsm Info[] - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id string
- The provider-assigned unique ID for this managed resource.
- resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- restored
At string - (String) The date when the instance under reclamation was restored.
- restored
By string - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- state string
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status string
- (String) Status of the hpcs instance.
- update
At string - (String) The date when the instance was last updated.
- update
By string - (String) The subject who updated the instance.
- created_
at str - (String) The date when the instance was created.
- created_
by str - (String) The subject who created the instance.
- crn str
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard_
url str - Dashboard URL to access resource.
- deleted_
at str - (String) The date when the instance was deleted.
- deleted_
by str - (String) The subject who deleted the instance.
- extensions Mapping[str, str]
- (List) The extended metadata as a map associated with the resource instance.
- guid str
- (String) Unique identifier of resource instance.
- hsm_
infos Sequence[HpcsHsm Info] - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id str
- The provider-assigned unique ID for this managed resource.
- resource_
aliases_ strurl - (String) The relative path to the resource aliases for the instance.
- resource_
bindings_ strurl - (String) The relative path to the resource bindings for the instance.
- resource_
keys_ strurl - (String) The relative path to the resource keys for the instance.
- restored_
at str - (String) The date when the instance under reclamation was restored.
- restored_
by str - (String) The subject who restored the instance back from reclamation.
- scheduled_
reclaim_ strat - (String) The date when the instance was scheduled for reclamation.
- scheduled_
reclaim_ strby - (String) The subject who initiated the instance reclamation.
- state str
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status str
- (String) Status of the hpcs instance.
- update_
at str - (String) The date when the instance was last updated.
- update_
by str - (String) The subject who updated the instance.
- created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard
Url String - Dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- extensions Map<String>
- (List) The extended metadata as a map associated with the resource instance.
- guid String
- (String) Unique identifier of resource instance.
- hsm
Infos List<Property Map> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id String
- The provider-assigned unique ID for this managed resource.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- state String
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status String
- (String) Status of the hpcs instance.
- update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
Look up Existing Hpcs Resource
Get an existing Hpcs 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?: HpcsState, opts?: CustomResourceOptions): Hpcs
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admins: Optional[Sequence[HpcsAdminArgs]] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
crn: Optional[str] = None,
dashboard_url: Optional[str] = None,
deleted_at: Optional[str] = None,
deleted_by: Optional[str] = None,
extensions: Optional[Mapping[str, str]] = None,
failover_units: Optional[float] = None,
guid: Optional[str] = None,
hpcs_id: Optional[str] = None,
hsm_infos: Optional[Sequence[HpcsHsmInfoArgs]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
plan: Optional[str] = None,
resource_aliases_url: Optional[str] = None,
resource_bindings_url: Optional[str] = None,
resource_group_id: Optional[str] = None,
resource_keys_url: Optional[str] = None,
restored_at: Optional[str] = None,
restored_by: Optional[str] = None,
revocation_threshold: Optional[float] = None,
scheduled_reclaim_at: Optional[str] = None,
scheduled_reclaim_by: Optional[str] = None,
service: Optional[str] = None,
service_endpoints: Optional[str] = None,
signature_server_url: Optional[str] = None,
signature_threshold: Optional[float] = None,
state: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[HpcsTimeoutsArgs] = None,
units: Optional[float] = None,
update_at: Optional[str] = None,
update_by: Optional[str] = None) -> Hpcs
func GetHpcs(ctx *Context, name string, id IDInput, state *HpcsState, opts ...ResourceOption) (*Hpcs, error)
public static Hpcs Get(string name, Input<string> id, HpcsState? state, CustomResourceOptions? opts = null)
public static Hpcs get(String name, Output<String> id, HpcsState state, CustomResourceOptions options)
resources: _: type: ibm:Hpcs 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.
- Admins
List<Hpcs
Admin> - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the Hyper Protect Crypto Services instance.
- Dashboard
Url string - Dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Extensions Dictionary<string, string>
- (List) The extended metadata as a map associated with the resource instance.
- Failover
Units double - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - Guid string
- (String) Unique identifier of resource instance.
- Hpcs
Id string - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Hsm
Infos List<HpcsHsm Info> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - Location string
- The location where the HPCS instance available
- Name string
- The name of your Hyper Protect Crypto Services instance.
- Plan string
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Group stringId - The ID of resource group where you want to organize and manage your service instance.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Revocation
Threshold double - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- Service string
- (String) The service type (
hs-crypto
) of the instance. - Service
Endpoints string - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - Signature
Server stringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- Signature
Threshold double - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- State string
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- Status string
- (String) Status of the hpcs instance.
- List<string>
- Tags that are associated with your instance are used to organize your resources.
- Timeouts
Hpcs
Timeouts - Units double
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- Admins
[]Hpcs
Admin Args - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the Hyper Protect Crypto Services instance.
- Dashboard
Url string - Dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Extensions map[string]string
- (List) The extended metadata as a map associated with the resource instance.
- Failover
Units float64 - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - Guid string
- (String) Unique identifier of resource instance.
- Hpcs
Id string - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Hsm
Infos []HpcsHsm Info Args - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - Location string
- The location where the HPCS instance available
- Name string
- The name of your Hyper Protect Crypto Services instance.
- Plan string
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Group stringId - The ID of resource group where you want to organize and manage your service instance.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Revocation
Threshold float64 - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- Service string
- (String) The service type (
hs-crypto
) of the instance. - Service
Endpoints string - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - Signature
Server stringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- Signature
Threshold float64 - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- State string
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- Status string
- (String) Status of the hpcs instance.
- []string
- Tags that are associated with your instance are used to organize your resources.
- Timeouts
Hpcs
Timeouts Args - Units float64
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- admins
List<Hpcs
Admin> - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard
Url String - Dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- extensions Map<String,String>
- (List) The extended metadata as a map associated with the resource instance.
- failover
Units Double - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - guid String
- (String) Unique identifier of resource instance.
- hpcs
Id String - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- hsm
Infos List<HpcsHsm Info> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - location String
- The location where the HPCS instance available
- name String
- The name of your Hyper Protect Crypto Services instance.
- plan String
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Group StringId - The ID of resource group where you want to organize and manage your service instance.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- revocation
Threshold Double - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- service String
- (String) The service type (
hs-crypto
) of the instance. - service
Endpoints String - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature
Server StringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- signature
Threshold Double - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- state String
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status String
- (String) Status of the hpcs instance.
- List<String>
- Tags that are associated with your instance are used to organize your resources.
- timeouts
Hpcs
Timeouts - units Double
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
- admins
Hpcs
Admin[] - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - created
At string - (String) The date when the instance was created.
- created
By string - (String) The subject who created the instance.
- crn string
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard
Url string - Dashboard URL to access resource.
- deleted
At string - (String) The date when the instance was deleted.
- deleted
By string - (String) The subject who deleted the instance.
- extensions {[key: string]: string}
- (List) The extended metadata as a map associated with the resource instance.
- failover
Units number - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - guid string
- (String) Unique identifier of resource instance.
- hpcs
Id string - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- hsm
Infos HpcsHsm Info[] - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - location string
- The location where the HPCS instance available
- name string
- The name of your Hyper Protect Crypto Services instance.
- plan string
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Group stringId - The ID of resource group where you want to organize and manage your service instance.
- resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- restored
At string - (String) The date when the instance under reclamation was restored.
- restored
By string - (String) The subject who restored the instance back from reclamation.
- revocation
Threshold number - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- service string
- (String) The service type (
hs-crypto
) of the instance. - service
Endpoints string - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature
Server stringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- signature
Threshold number - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- state string
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status string
- (String) Status of the hpcs instance.
- string[]
- Tags that are associated with your instance are used to organize your resources.
- timeouts
Hpcs
Timeouts - units number
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - update
At string - (String) The date when the instance was last updated.
- update
By string - (String) The subject who updated the instance.
- admins
Sequence[Hpcs
Admin Args] - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - created_
at str - (String) The date when the instance was created.
- created_
by str - (String) The subject who created the instance.
- crn str
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard_
url str - Dashboard URL to access resource.
- deleted_
at str - (String) The date when the instance was deleted.
- deleted_
by str - (String) The subject who deleted the instance.
- extensions Mapping[str, str]
- (List) The extended metadata as a map associated with the resource instance.
- failover_
units float - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - guid str
- (String) Unique identifier of resource instance.
- hpcs_
id str - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- hsm_
infos Sequence[HpcsHsm Info Args] - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - location str
- The location where the HPCS instance available
- name str
- The name of your Hyper Protect Crypto Services instance.
- plan str
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- resource_
aliases_ strurl - (String) The relative path to the resource aliases for the instance.
- resource_
bindings_ strurl - (String) The relative path to the resource bindings for the instance.
- resource_
group_ strid - The ID of resource group where you want to organize and manage your service instance.
- resource_
keys_ strurl - (String) The relative path to the resource keys for the instance.
- restored_
at str - (String) The date when the instance under reclamation was restored.
- restored_
by str - (String) The subject who restored the instance back from reclamation.
- revocation_
threshold float - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - scheduled_
reclaim_ strat - (String) The date when the instance was scheduled for reclamation.
- scheduled_
reclaim_ strby - (String) The subject who initiated the instance reclamation.
- service str
- (String) The service type (
hs-crypto
) of the instance. - service_
endpoints str - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature_
server_ strurl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- signature_
threshold float - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- state str
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status str
- (String) Status of the hpcs instance.
- Sequence[str]
- Tags that are associated with your instance are used to organize your resources.
- timeouts
Hpcs
Timeouts Args - units float
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - update_
at str - (String) The date when the instance was last updated.
- update_
by str - (String) The subject who updated the instance.
- admins List<Property Map>
- The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the Hyper Protect Crypto Services instance.
- dashboard
Url String - Dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- extensions Map<String>
- (List) The extended metadata as a map associated with the resource instance.
- failover
Units Number - The number of failover crypto units for your service instance. Valid values are
0
,2
, or3
, and it must be less than or equal to the number of operational crypto units. If you set it0
, cross-region high availability will not be enabled. Currently, you can enable this option only in theus-south
andus-east
region. If you do not specify the value, the default value is 0. - guid String
- (String) Unique identifier of resource instance.
- hpcs
Id String - (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- hsm
Infos List<Property Map> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - location String
- The location where the HPCS instance available
- name String
- The name of your Hyper Protect Crypto Services instance.
- plan String
- The pricing plan for your service instance. Currently, only the standard plan is supportd.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Group StringId - The ID of resource group where you want to organize and manage your service instance.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- revocation
Threshold Number - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- service String
- (String) The service type (
hs-crypto
) of the instance. - service
Endpoints String - The network access to your service instance. Valid values are
public-and-private
andprivate-only
. If you do not specify the value, the default setting ispublic-and-private
. - signature
Server StringUrl The URL and port number where the signing service is running. If you are using a third-party signing service to provide administrator signature keys, you need to specify this parameter.
Note: If you manage multiple service instances in the
main.tf
file, make sure to set the samesignature_server_url
parameter for each instance. Otherwise, you will not be able to perform the actions successfully.- signature
Threshold Number - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- state String
- (String) The current state of the instance. For example, if the instance is deleted, it will return removed.
- status String
- (String) Status of the hpcs instance.
- List<String>
- Tags that are associated with your instance are used to organize your resources.
- timeouts Property Map
- units Number
- The number of operational crypto units for your service instance. Valid values are
2
and3
. - update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
Supporting Types
HpcsAdmin, HpcsAdminArgs
- Key string
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the absolute path and the file name of the signature key file that is to be used.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the name of the signature key depending on the signing service definition. The character string for the key name is appended to a URI that is sent to the signing service and must contain only unreserved characters as defined by section 2.3 of RFC3986.- Name string
- The name of the administrator. It needs to be no more than 30 characters in length.
- Token string
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the administrator password to access the corresponding signature key file.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the token that authorizes use of the signature key depending on the signing service definition.
- Key string
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the absolute path and the file name of the signature key file that is to be used.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the name of the signature key depending on the signing service definition. The character string for the key name is appended to a URI that is sent to the signing service and must contain only unreserved characters as defined by section 2.3 of RFC3986.- Name string
- The name of the administrator. It needs to be no more than 30 characters in length.
- Token string
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the administrator password to access the corresponding signature key file.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the token that authorizes use of the signature key depending on the signing service definition.
- key String
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the absolute path and the file name of the signature key file that is to be used.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the name of the signature key depending on the signing service definition. The character string for the key name is appended to a URI that is sent to the signing service and must contain only unreserved characters as defined by section 2.3 of RFC3986.- name String
- The name of the administrator. It needs to be no more than 30 characters in length.
- token String
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the administrator password to access the corresponding signature key file.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the token that authorizes use of the signature key depending on the signing service definition.
- key string
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the absolute path and the file name of the signature key file that is to be used.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the name of the signature key depending on the signing service definition. The character string for the key name is appended to a URI that is sent to the signing service and must contain only unreserved characters as defined by section 2.3 of RFC3986.- name string
- The name of the administrator. It needs to be no more than 30 characters in length.
- token string
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the administrator password to access the corresponding signature key file.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the token that authorizes use of the signature key depending on the signing service definition.
- key str
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the absolute path and the file name of the signature key file that is to be used.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the name of the signature key depending on the signing service definition. The character string for the key name is appended to a URI that is sent to the signing service and must contain only unreserved characters as defined by section 2.3 of RFC3986.- name str
- The name of the administrator. It needs to be no more than 30 characters in length.
- token str
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the administrator password to access the corresponding signature key file.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the token that authorizes use of the signature key depending on the signing service definition.
- key String
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the absolute path and the file name of the signature key file that is to be used.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the name of the signature key depending on the signing service definition. The character string for the key name is appended to a URI that is sent to the signing service and must contain only unreserved characters as defined by section 2.3 of RFC3986.- name String
- The name of the administrator. It needs to be no more than 30 characters in length.
- token String
If you are using signature key files on the local workstation that are created by the TKE CLI plug-in and are not using a third-party signing service, specify the administrator password to access the corresponding signature key file.
Note: If you are using a signing service (
signature_server_url
) to provide signature keys, specify the token that authorizes use of the signature key depending on the signing service definition.
HpcsHsmInfo, HpcsHsmInfoArgs
- Admins
List<Hpcs
Hsm Info Admin> - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - Current
Mk stringStatus - (String) Status of Current Master Key Register.
- Current
Mkvp string - (String) Current Master Key Register Verification Pattern.
- Hsm
Id string - (String) HSM ID.
- Hsm
Location string - (String) HSM Location.
- Hsm
Type string - (String) HSM Type.
- New
Mk stringStatus - (String) Status of New Master Key Register.
- New
Mkvp string - (String) New Master Key Register Verification Pattern.
- Revocation
Threshold double - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - Signature
Threshold double - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- Admins
[]Hpcs
Hsm Info Admin - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - Current
Mk stringStatus - (String) Status of Current Master Key Register.
- Current
Mkvp string - (String) Current Master Key Register Verification Pattern.
- Hsm
Id string - (String) HSM ID.
- Hsm
Location string - (String) HSM Location.
- Hsm
Type string - (String) HSM Type.
- New
Mk stringStatus - (String) Status of New Master Key Register.
- New
Mkvp string - (String) New Master Key Register Verification Pattern.
- Revocation
Threshold float64 - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - Signature
Threshold float64 - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- admins
List<Hpcs
Hsm Info Admin> - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - current
Mk StringStatus - (String) Status of Current Master Key Register.
- current
Mkvp String - (String) Current Master Key Register Verification Pattern.
- hsm
Id String - (String) HSM ID.
- hsm
Location String - (String) HSM Location.
- hsm
Type String - (String) HSM Type.
- new
Mk StringStatus - (String) Status of New Master Key Register.
- new
Mkvp String - (String) New Master Key Register Verification Pattern.
- revocation
Threshold Double - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature
Threshold Double - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- admins
Hpcs
Hsm Info Admin[] - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - current
Mk stringStatus - (String) Status of Current Master Key Register.
- current
Mkvp string - (String) Current Master Key Register Verification Pattern.
- hsm
Id string - (String) HSM ID.
- hsm
Location string - (String) HSM Location.
- hsm
Type string - (String) HSM Type.
- new
Mk stringStatus - (String) Status of New Master Key Register.
- new
Mkvp string - (String) New Master Key Register Verification Pattern.
- revocation
Threshold number - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature
Threshold number - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- admins
Sequence[Hpcs
Hsm Info Admin] - The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - current_
mk_ strstatus - (String) Status of Current Master Key Register.
- current_
mkvp str - (String) Current Master Key Register Verification Pattern.
- hsm_
id str - (String) HSM ID.
- hsm_
location str - (String) HSM Location.
- hsm_
type str - (String) HSM Type.
- new_
mk_ strstatus - (String) Status of New Master Key Register.
- new_
mkvp str - (String) New Master Key Register Verification Pattern.
- revocation_
threshold float - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature_
threshold float - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
- admins List<Property Map>
- The list of administrators for the instance crypto units. You can set up to 8 administrators and the number needs to be equal to or greater than the thresholds that you specify. The following values need to be set for each administrator:
Nested scheme for
admins
: - current
Mk StringStatus - (String) Status of Current Master Key Register.
- current
Mkvp String - (String) Current Master Key Register Verification Pattern.
- hsm
Id String - (String) HSM ID.
- hsm
Location String - (String) HSM Location.
- hsm
Type String - (String) HSM Type.
- new
Mk StringStatus - (String) Status of New Master Key Register.
- new
Mkvp String - (String) New Master Key Register Verification Pattern.
- revocation
Threshold Number - The number of administrator signatures that is required to remove an administrator after you leave imprint mode. The valid value is between
1
and8
. - signature
Threshold Number - The number of administrator signatures that is required to execute administrative commands. The valid value is between 1 and 8. You need to set it to at least 2 to enable quorum authentication.
HpcsHsmInfoAdmin, HpcsHsmInfoAdminArgs
HpcsTimeouts, HpcsTimeoutsArgs
Import
The ibm_hpcs
can be imported by using the crn
.
bash
$ pulumi import ibm:index/hpcs:Hpcs hpcs <crn>
Example
$ pulumi import ibm:index/hpcs:Hpcs hpcs crn:v1:bluemix:public:hs-crypto:us-south:a/4448261269a14562b839e0a3019ed980:f115115b-5087-4a4e-9cc8-71acf0542c0d::
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.