- Resource: SingleTenantHsmInstanceProposal
- State
- QuorumParameters
- Challenge
- RequiredActionQuorumParameters
- RegisterTwoFactorAuthKeys
- DisableSingleTenantHsmInstance
- EnableSingleTenantHsmInstance
- DeleteSingleTenantHsmInstance
- AddQuorumMember
- RemoveQuorumMember
- RefreshSingleTenantHsmInstance
- Methods
Resource: SingleTenantHsmInstanceProposal
A SingleTenantHsmInstanceProposal represents a proposal to perform an operation on a SingleTenantHsmInstance.
| JSON representation |
|---|
{ "name": string, "createTime": string, "state": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name for this |
createTime |
Output only. The time at which the Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
state |
Output only. The state of the |
failureReason |
Output only. The root cause of the most recent failure. Only present if |
deleteTime |
Output only. The time at which the Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
purgeTime |
Output only. The time at which the soft-deleted Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field approval_parameters. The approval parameters for the SingleTenantHsmInstanceProposal. The type of parameters is determined by the operation being proposed. approval_parameters can be only one of the following: |
|
quorumParameters |
Output only. The quorum approval parameters for the |
requiredActionQuorumParameters |
Output only. Parameters for an approval of a |
Union field expiration. The expiration of the SingleTenantHsmInstanceProposal. If not set, the SingleTenantHsmInstanceProposal will expire in 1 day. The maximum expire time is 7 days. The minimum expire time is 5 minutes. expiration can be only one of the following: |
|
expireTime |
The time at which the Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
ttl |
Input only. The TTL for the A duration in seconds with up to nine fractional digits, ending with ' |
Union field operation. The operation to perform on the SingleTenantHsmInstance. operation can be only one of the following: |
|
registerTwoFactorAuthKeys |
Register 2FA keys for the |
disableSingleTenantHsmInstance |
Disable the |
enableSingleTenantHsmInstance |
Enable the |
deleteSingleTenantHsmInstance |
Delete the |
addQuorumMember |
Add a quorum member to the |
removeQuorumMember |
Remove a quorum member from the |
refreshSingleTenantHsmInstance |
Refreshes the |
State
The set of states of a SingleTenantHsmInstanceProposal.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Not specified. |
CREATING |
The SingleTenantHsmInstanceProposal is being created. |
PENDING |
The SingleTenantHsmInstanceProposal is pending approval. |
APPROVED |
The SingleTenantHsmInstanceProposal has been approved. |
RUNNING |
The SingleTenantHsmInstanceProposal is being executed. |
SUCCEEDED |
The SingleTenantHsmInstanceProposal has been executed successfully. |
FAILED |
The SingleTenantHsmInstanceProposal has failed. |
DELETED |
The SingleTenantHsmInstanceProposal has been deleted and will be purged after the purgeTime. |
QuorumParameters
Parameters of quorum approval for the SingleTenantHsmInstanceProposal.
| JSON representation |
|---|
{
"requiredApproverCount": integer,
"challenges": [
{
object ( |
| Fields | |
|---|---|
requiredApproverCount |
Output only. The required numbers of approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys. |
challenges[] |
Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation. |
approvedTwoFactorPublicKeyPems[] |
Output only. The public keys associated with the 2FA keys that have already approved the |
Challenge
A challenge to be signed by a 2FA key.
| JSON representation |
|---|
{ "challenge": string, "publicKeyPem": string } |
| Fields | |
|---|---|
challenge |
Output only. The challenge to be signed by the 2FA key indicated by the public key. A base64-encoded string. |
publicKeyPem |
Output only. The public key associated with the 2FA key that should sign the challenge. |
RequiredActionQuorumParameters
Parameters for an approval that has both required challenges and a quorum.
| JSON representation |
|---|
{ "requiredChallenges": [ { object ( |
| Fields | |
|---|---|
requiredChallenges[] |
Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge. |
requiredApproverCount |
Output only. The required number of quorum approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys. |
quorumChallenges[] |
Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation. |
approvedTwoFactorPublicKeyPems[] |
Output only. The public keys associated with the 2FA keys that have already approved the |
RegisterTwoFactorAuthKeys
Register 2FA keys for the SingleTenantHsmInstance. This operation requires all Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
| JSON representation |
|---|
{ "requiredApproverCount": integer, "twoFactorPublicKeyPems": [ string ] } |
| Fields | |
|---|---|
requiredApproverCount |
Required. The required numbers of approvers to set for the |
twoFactorPublicKeyPems[] |
Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys. |
DisableSingleTenantHsmInstance
This type has no fields.
Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
EnableSingleTenantHsmInstance
This type has no fields.
Enable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the DISABLED state to perform this operation.
DeleteSingleTenantHsmInstance
This type has no fields.
Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must not be in the DELETING or DELETED state to perform this operation.
AddQuorumMember
Add a quorum member to the SingleTenantHsmInstance. This will increase the totalApproverCount by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
| JSON representation |
|---|
{ "twoFactorPublicKeyPem": string } |
| Fields | |
|---|---|
twoFactorPublicKeyPem |
Required. The public key associated with the 2FA key for the new quorum member to add. Public keys must be associated with RSA 2048 keys. |
RemoveQuorumMember
Remove a quorum member from the SingleTenantHsmInstance. This will reduce totalApproverCount by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
| JSON representation |
|---|
{ "twoFactorPublicKeyPem": string } |
| Fields | |
|---|---|
twoFactorPublicKeyPem |
Required. The public key associated with the 2FA key for the quorum member to remove. Public keys must be associated with RSA 2048 keys. |
RefreshSingleTenantHsmInstance
This type has no fields.
Refreshes the SingleTenantHsmInstance. This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshedDurationUntilDisable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
Methods |
|
|---|---|
|
Approves a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. |
|
Creates a new SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. |
|
Deletes a SingleTenantHsmInstanceProposal. |
|
Executes a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. |
|
Returns metadata for a given SingleTenantHsmInstanceProposal. |
|
Lists SingleTenantHsmInstanceProposals. |