Download OpenAPI specification:Download OpenAPI Spec (YAML)Download OpenAPI Spec (JSON)
さくらのクラウド KMS / SecretManager / CloudHSM API
| Count | integer Number of results to return per page. |
| From | integer The initial index from which to return the results. |
{- "Count": 10,
- "From": 0,
- "Total": 10,
- "CloudHSMs": [
- {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/partition",
- "Availability": "precreate",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
], - "IPv4NetworkAddress": "192.168.100.0",
- "IPv4PrefixLength": 24,
- "IPv4Address": "192.168.100.11",
- "LocalRouter": {
- "ResourceID": "110000000000",
- "SecretKey": "PAIRINGSECRETKEY"
}, - "InitialData": {
- "PartitionName": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----",
- "PartitionID": "string"
}
}
], - "is_ok": true
}required | object (CreateCloudHSMRequest) |
{- "CloudHSM": {
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
], - "IPv4NetworkAddress": "192.168.100.0",
- "IPv4PrefixLength": 24
}
}{- "CloudHSM": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/partition",
- "Availability": "precreate",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
], - "IPv4NetworkAddress": "192.168.100.0",
- "IPv4PrefixLength": 24,
- "IPv4Address": "192.168.100.11"
}, - "is_ok": true
}| cloudhsm_resource_id required | string |
| Count | integer Number of results to return per page. |
| From | integer The initial index from which to return the results. |
{- "Count": 10,
- "From": 0,
- "Total": 10,
- "Clients": [
- {
- "ID": "01JP9500000000000000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Availability": "precreate",
- "Name": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----"
}
], - "is_ok": true
}| cloudhsm_resource_id required | string |
required | object (CreateCloudHSMClientRequest) |
{- "Client": {
- "Name": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----"
}
}{- "Client": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Availability": "precreate",
- "Name": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----"
}, - "is_ok": true
}| cloudhsm_resource_id required | string |
| id required | string A unique value identifying this CloudHSMクライアント. |
{- "Client": {
- "ID": "01JP9500000000000000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Availability": "precreate",
- "Name": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----"
}, - "is_ok": true
}| cloudhsm_resource_id required | string |
| id required | string A unique value identifying this CloudHSMクライアント. |
required | object (CloudHSMClientRequest) |
{- "Client": {
- "Name": "string"
}
}{- "Client": {
- "ID": "01JP9500000000000000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Availability": "precreate",
- "Name": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----"
}, - "is_ok": true
}{- "CloudHSM": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/partition",
- "Availability": "precreate",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
], - "IPv4NetworkAddress": "192.168.100.0",
- "IPv4PrefixLength": 24,
- "IPv4Address": "192.168.100.11",
- "LocalRouter": {
- "ResourceID": "110000000000",
- "SecretKey": "PAIRINGSECRETKEY"
}, - "InitialData": {
- "PartitionName": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----",
- "PartitionID": "string"
}
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (CloudHSMRequest) |
{- "CloudHSM": {
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
], - "IPv4NetworkAddress": "192.168.100.0",
- "IPv4PrefixLength": 24
}
}{- "CloudHSM": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/partition",
- "Availability": "precreate",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
], - "IPv4NetworkAddress": "192.168.100.0",
- "IPv4PrefixLength": 24,
- "IPv4Address": "192.168.100.11",
- "LocalRouter": {
- "ResourceID": "110000000000",
- "SecretKey": "PAIRINGSECRETKEY"
}, - "InitialData": {
- "PartitionName": "string",
- "Certificate": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----",
- "PartitionID": "string"
}
}, - "is_ok": true
}| Count | integer Number of results to return per page. |
| From | integer The initial index from which to return the results. |
{- "Count": 10,
- "From": 0,
- "Total": 10,
- "Licenses": [
- {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/license/l7",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}
], - "is_ok": true
}required | object (CreateCloudHSMSoftwareLicenseRequest) |
{- "License": {
- "ServiceClass": "cloud/cloudhsm/license/l7",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}
}{- "License": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/license/l7",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| license_resource_id required | string |
| Count | integer Number of results to return per page. |
| From | integer The initial index from which to return the results. |
{- "Count": 10,
- "From": 0,
- "Total": 10,
- "CloudHSMDocuments": [
- {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Name": "string"
}
], - "is_ok": true
}| resource_id required | string (リソースID) |
{- "License": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/license/l7",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (CloudHSMSoftwareLicenseRequest) |
{- "License": {
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}
}{- "License": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/cloudhsm/license/l7",
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| Count | integer Number of results to return per page. |
| From | integer The initial index from which to return the results. |
{- "Count": 10,
- "From": 0,
- "Total": 10,
- "Keys": [
- {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/kms/key",
- "Name": "string",
- "Description": "string",
- "KeyOrigin": "generated",
- "LatestVersion": 0,
- "Status": "active",
- "DeletionScheduledAfter": "2025-02-05T12:19:22.551827+09:00",
- "Tags": [
- "string"
]
}
], - "is_ok": true
}required | object (CreateKeyRequest) |
{- "Key": {
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
], - "PlainKey": "string"
}
}{- "Key": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/kms/key",
- "Name": "string",
- "Description": "string",
- "KeyOrigin": "generated",
- "LatestVersion": 0,
- "Status": "active",
- "DeletionScheduledAfter": "2025-02-05T12:19:22.551827+09:00",
- "Tags": [
- "string"
]
}, - "is_ok": true
}{- "Key": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/kms/key",
- "Name": "string",
- "Description": "string",
- "KeyOrigin": "generated",
- "LatestVersion": 0,
- "Status": "active",
- "DeletionScheduledAfter": "2025-02-05T12:19:22.551827+09:00",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (KeyRequest) |
{- "Key": {
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}
}{- "Key": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/kms/key",
- "Name": "string",
- "Description": "string",
- "KeyOrigin": "generated",
- "LatestVersion": 0,
- "Status": "active",
- "DeletionScheduledAfter": "2025-02-05T12:19:22.551827+09:00",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (DecryptionRequest) |
{- "Key": {
- "Cipher": "string"
}
}{- "Key": {
- "Plain": "string"
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (EncryptionRequest) |
{- "Key": {
- "Plain": "string",
- "Algo": "aes-256-gcm"
}
}{- "Key": {
- "Cipher": "string"
}, - "is_ok": true
}{- "Key": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "ServiceClass": "cloud/kms/key",
- "Name": "string",
- "Description": "string",
- "KeyOrigin": "generated",
- "LatestVersion": 0,
- "Status": "active",
- "DeletionScheduledAfter": "2025-02-05T12:19:22.551827+09:00",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (ScheduleDestructionKeyRequest) 鍵の削除スケジュール設定 |
{- "Key": {
- "PendingDays": 7
}
}{- "Key": {
- "Status": "active",
- "DeletionScheduledAfter": "2025-02-05T12:19:22.551827+09:00"
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (ChangeKeyStateRequest) 鍵の状態変更 |
{- "Key": {
- "Status": "active"
}
}{- "Key": {
- "Status": "active"
}, - "is_ok": true
}| Count | integer Number of results to return per page. |
| From | integer The initial index from which to return the results. |
{- "Count": 10,
- "From": 0,
- "Total": 10,
- "Vaults": [
- {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Name": "string",
- "Description": "string",
- "KmsKeyID": "110000000000",
- "Tags": [
- "string"
]
}
], - "is_ok": true
}required | object (CreateVaultRequest) |
{- "Vault": {
- "Name": "string",
- "Description": "string",
- "KmsKeyID": "110000000000",
- "Tags": [
- "string"
]
}
}{- "Vault": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Name": "string",
- "Description": "string",
- "KmsKeyID": "110000000000",
- "Tags": [
- "string"
]
}, - "is_ok": true
}{- "Vault": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Name": "string",
- "Description": "string",
- "KmsKeyID": "110000000000",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| resource_id required | string (リソースID) |
required | object (VaultRequest) |
{- "Vault": {
- "Name": "string",
- "Description": "string",
- "Tags": [
- "string"
]
}
}{- "Vault": {
- "ID": "110000000000",
- "CreatedAt": "2025-02-05T12:19:22.551827+09:00",
- "ModifiedAt": "2025-02-05T12:19:22.551827+09:00",
- "Name": "string",
- "Description": "string",
- "KmsKeyID": "110000000000",
- "Tags": [
- "string"
]
}, - "is_ok": true
}| vault_resource_id required | string |
| Count | integer Number of results to return per page. |
| From | integer The initial index from which to return the results. |
{- "Count": 10,
- "From": 0,
- "Total": 10,
- "Secrets": [
- {
- "Name": "string",
- "LatestVersion": 0
}
], - "is_ok": true
}新しいバージョンを作成します。シークレット値は最新を含む50世代まで保持され、より古い世代は削除されます。
| vault_resource_id required | string |
required | object (CreateSecretRequest) |
{- "Secret": {
- "Name": "string",
- "Value": "string"
}
}{- "Secret": {
- "Name": "string",
- "LatestVersion": 1
}, - "is_ok": true
}シークレット値を取得します。取得できるのは最新を含む50世代までです。
| vault_resource_id required | string |
required | object (UnveilRequest) |
{- "Secret": {
- "Name": "string",
- "Version": 0
}
}{- "Secret": {
- "Name": "string",
- "Version": 0,
- "Value": "string"
}, - "is_ok": true
}