{
  "components": {
    "schemas": {
      "ChangeKeyState": {
        "description": "鍵の状態を変更するためのシリアライザ",
        "properties": {
          "Status": {
            "description": "* `active` - 有効\n* `restricted` - 制限付き\n* `suspended` - 一時停止",
            "enum": [
              "active",
              "restricted",
              "suspended"
            ],
            "type": "string",
            "x-spec-enum-id": "c07b47aad4f4d40c"
          }
        },
        "required": [
          "Status"
        ],
        "type": "object"
      },
      "CloudHSM": {
        "properties": {
          "Availability": {
            "description": "* `precreate` - 準備中\n* `available` - 利用可能\n* `discontinued` - 廃止",
            "enum": [
              "precreate",
              "available",
              "discontinued"
            ],
            "readOnly": true,
            "title": "状態",
            "type": "string",
            "x-spec-enum-id": "329069c36229258c"
          },
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "IPv4Address": {
            "example": "192.168.100.11",
            "readOnly": true,
            "type": "string"
          },
          "IPv4NetworkAddress": {
            "example": "192.168.100.0",
            "title": "IPv4ネットワークアドレス",
            "type": "string"
          },
          "IPv4PrefixLength": {
            "example": 24,
            "format": "int64",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "title": "IPv4プレフィックス長",
            "type": "integer"
          },
          "InitialData": {
            "readOnly": true,
            "type": "string"
          },
          "LocalRouter": {
            "readOnly": true,
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "ServiceClass": {
            "description": "* `cloud/cloudhsm/partition` - LunaHSM",
            "enum": [
              "cloud/cloudhsm/partition"
            ],
            "readOnly": true,
            "title": "サービスクラス",
            "type": "string",
            "x-spec-enum-id": "d2f84fe5a8c0b61f"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "IPv4NetworkAddress",
          "IPv4PrefixLength",
          "Name"
        ],
        "type": "object"
      },
      "CloudHSMClient": {
        "properties": {
          "Availability": {
            "description": "* `precreate` - 準備中\n* `available` - 利用可能\n* `discontinued` - 廃止",
            "enum": [
              "precreate",
              "available",
              "discontinued"
            ],
            "readOnly": true,
            "title": "状態",
            "type": "string",
            "x-spec-enum-id": "329069c36229258c"
          },
          "Certificate": {
            "example": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----",
            "readOnly": true,
            "title": "証明書",
            "type": "string"
          },
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "ID": {
            "example": "01JP9500000000000000000000",
            "readOnly": true,
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "CloudHSMDocument": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "readOnly": true,
            "title": "ドキュメント名",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CloudHSMDocumentDownload": {
        "properties": {
          "URL": {
            "format": "uri",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CloudHSMSoftwareLicense": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "ServiceClass": {
            "description": "* `cloud/cloudhsm/license/l7` - Luna HSM Client",
            "enum": [
              "cloud/cloudhsm/license/l7"
            ],
            "readOnly": true,
            "title": "サービスクラス",
            "type": "string",
            "x-spec-enum-id": "1a833033bfd882c9"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "CreateCloudHSM": {
        "properties": {
          "Availability": {
            "description": "* `precreate` - 準備中\n* `available` - 利用可能\n* `discontinued` - 廃止",
            "enum": [
              "precreate",
              "available",
              "discontinued"
            ],
            "readOnly": true,
            "title": "状態",
            "type": "string",
            "x-spec-enum-id": "329069c36229258c"
          },
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "IPv4Address": {
            "example": "192.168.100.11",
            "readOnly": true,
            "type": "string"
          },
          "IPv4NetworkAddress": {
            "example": "192.168.100.0",
            "title": "IPv4ネットワークアドレス",
            "type": "string"
          },
          "IPv4PrefixLength": {
            "example": 24,
            "format": "int64",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "title": "IPv4プレフィックス長",
            "type": "integer"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "ServiceClass": {
            "description": "* `cloud/cloudhsm/partition` - LunaHSM",
            "enum": [
              "cloud/cloudhsm/partition"
            ],
            "readOnly": true,
            "title": "サービスクラス",
            "type": "string",
            "x-spec-enum-id": "d2f84fe5a8c0b61f"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "IPv4NetworkAddress",
          "IPv4PrefixLength",
          "Name"
        ],
        "type": "object"
      },
      "CreateCloudHSMClient": {
        "properties": {
          "Availability": {
            "description": "* `precreate` - 準備中\n* `available` - 利用可能\n* `discontinued` - 廃止",
            "enum": [
              "precreate",
              "available",
              "discontinued"
            ],
            "readOnly": true,
            "title": "状態",
            "type": "string",
            "x-spec-enum-id": "329069c36229258c"
          },
          "Certificate": {
            "example": "-----BEGIN CERTIFICATE-----\\nMIIC0DCCAbigAwIBAgIJAJ.....\\n-----END CERTIFICATE-----",
            "type": "string"
          },
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          }
        },
        "required": [
          "Certificate",
          "Name"
        ],
        "type": "object"
      },
      "CreateCloudHSMSoftwareLicense": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "ServiceClass": {
            "description": "* `cloud/cloudhsm/license/l7` - Luna HSM Client",
            "enum": [
              "cloud/cloudhsm/license/l7"
            ],
            "title": "サービスクラス",
            "type": "string",
            "x-spec-enum-id": "1a833033bfd882c9"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "Name",
          "ServiceClass"
        ],
        "type": "object"
      },
      "CreateKey": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "DeletionScheduledAfter": {
            "description": "この日時以降に削除される予定です",
            "example": "2025-02-05T12:19:22.551827+09:00",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "title": "削除予定日時",
            "type": "string"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "KeyOrigin": {
            "description": "* `generated` - 生成\n* `imported` - インポート",
            "enum": [
              "generated",
              "imported"
            ],
            "readOnly": true,
            "title": "鍵の生成元",
            "type": "string",
            "x-spec-enum-id": "ce5bfb1ae3eae901"
          },
          "LatestVersion": {
            "example": 0,
            "readOnly": true,
            "type": "integer"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "PlainKey": {
            "type": "string",
            "writeOnly": true
          },
          "ServiceClass": {
            "description": "* `cloud/kms/key` - 通常\n* `cloud/kms/key/legacy` - レガシー",
            "enum": [
              "cloud/kms/key",
              "cloud/kms/key/legacy"
            ],
            "readOnly": true,
            "title": "サービスクラス",
            "type": "string",
            "x-spec-enum-id": "cdc4cc214c741297"
          },
          "Status": {
            "description": "* `active` - 有効\n* `restricted` - 制限付き\n* `suspended` - 一時停止\n* `pending_destruction` - 削除保留\n* `destroyed` - 削除済み",
            "enum": [
              "active",
              "restricted",
              "suspended",
              "pending_destruction",
              "destroyed"
            ],
            "readOnly": true,
            "title": "鍵の状態",
            "type": "string",
            "x-spec-enum-id": "16d501464180eaec"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "CreateSecret": {
        "properties": {
          "LatestVersion": {
            "example": 0,
            "readOnly": true,
            "type": "integer"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "Value": {
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "Name",
          "Value"
        ],
        "type": "object"
      },
      "CreateSecretRotationSchedule": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "RotationInterval": {
            "maxLength": 20,
            "title": "ローテーション間隔",
            "type": "string"
          },
          "Secret": {
            "$ref": "#/components/schemas/SecretRotationScheduleSecret"
          },
          "ServicePrincipalID": {
            "maxLength": 20,
            "title": "サービスプリンシパルID",
            "type": "string"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "Target": {
            "$ref": "#/components/schemas/SecretRotationScheduleTarget"
          }
        },
        "required": [
          "Name",
          "RotationInterval",
          "Secret",
          "ServicePrincipalID",
          "Target"
        ],
        "type": "object"
      },
      "CreateVault": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "KmsKeyID": {
            "example": "110000000000",
            "maxLength": 255,
            "title": "KMS 鍵ID",
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "KmsKeyID",
          "Name"
        ],
        "type": "object"
      },
      "DateTime": {
        "example": "2025-02-05T12:19:22.551827+09:00",
        "format": "iso8601",
        "type": "string"
      },
      "Key": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "DeletionScheduledAfter": {
            "description": "この日時以降に削除される予定です",
            "example": "2025-02-05T12:19:22.551827+09:00",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "title": "削除予定日時",
            "type": "string"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "KeyOrigin": {
            "description": "* `generated` - 生成\n* `imported` - インポート",
            "enum": [
              "generated",
              "imported"
            ],
            "readOnly": true,
            "title": "鍵の生成元",
            "type": "string",
            "x-spec-enum-id": "ce5bfb1ae3eae901"
          },
          "LatestVersion": {
            "example": 0,
            "readOnly": true,
            "type": "integer"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "ServiceClass": {
            "description": "* `cloud/kms/key` - 通常\n* `cloud/kms/key/legacy` - レガシー",
            "enum": [
              "cloud/kms/key",
              "cloud/kms/key/legacy"
            ],
            "readOnly": true,
            "title": "サービスクラス",
            "type": "string",
            "x-spec-enum-id": "cdc4cc214c741297"
          },
          "Status": {
            "description": "* `active` - 有効\n* `restricted` - 制限付き\n* `suspended` - 一時停止\n* `pending_destruction` - 削除保留\n* `destroyed` - 削除済み",
            "enum": [
              "active",
              "restricted",
              "suspended",
              "pending_destruction",
              "destroyed"
            ],
            "readOnly": true,
            "title": "鍵の状態",
            "type": "string",
            "x-spec-enum-id": "16d501464180eaec"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "PaginatedCloudHSMClientList": {
        "properties": {
          "Clients": {
            "items": {
              "$ref": "#/components/schemas/CloudHSMClient"
            },
            "type": "array"
          },
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "Clients"
        ],
        "type": "object"
      },
      "PaginatedCloudHSMDocumentList": {
        "properties": {
          "CloudHSMDocuments": {
            "items": {
              "$ref": "#/components/schemas/CloudHSMDocument"
            },
            "type": "array"
          },
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "CloudHSMDocuments"
        ],
        "type": "object"
      },
      "PaginatedCloudHSMList": {
        "properties": {
          "CloudHSMs": {
            "items": {
              "$ref": "#/components/schemas/CloudHSM"
            },
            "type": "array"
          },
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "CloudHSMs"
        ],
        "type": "object"
      },
      "PaginatedCloudHSMSoftwareLicenseList": {
        "properties": {
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Licenses": {
            "items": {
              "$ref": "#/components/schemas/CloudHSMSoftwareLicense"
            },
            "type": "array"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "Licenses"
        ],
        "type": "object"
      },
      "PaginatedKeyList": {
        "properties": {
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Keys": {
            "items": {
              "$ref": "#/components/schemas/Key"
            },
            "type": "array"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "Keys"
        ],
        "type": "object"
      },
      "PaginatedSecretList": {
        "properties": {
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Secrets": {
            "items": {
              "$ref": "#/components/schemas/Secret"
            },
            "type": "array"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "Secrets"
        ],
        "type": "object"
      },
      "PaginatedSecretRotationScheduleHistoryList": {
        "properties": {
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Histories": {
            "items": {
              "$ref": "#/components/schemas/SecretRotationScheduleHistory"
            },
            "type": "array"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "Histories"
        ],
        "type": "object"
      },
      "PaginatedSecretRotationScheduleList": {
        "properties": {
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "SecretRotationSchedules": {
            "items": {
              "$ref": "#/components/schemas/SecretRotationSchedule"
            },
            "type": "array"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "SecretRotationSchedules"
        ],
        "type": "object"
      },
      "PaginatedVaultList": {
        "properties": {
          "Count": {
            "example": 10,
            "type": "integer"
          },
          "From": {
            "example": 0,
            "type": "integer"
          },
          "Total": {
            "example": 10,
            "type": "integer"
          },
          "Vaults": {
            "items": {
              "$ref": "#/components/schemas/Vault"
            },
            "type": "array"
          }
        },
        "required": [
          "Count",
          "From",
          "Total",
          "Vaults"
        ],
        "type": "object"
      },
      "PatchedWrappedCloudHSM": {
        "properties": {
          "CloudHSM": {
            "$ref": "#/components/schemas/CloudHSM"
          }
        },
        "type": "object"
      },
      "PatchedWrappedCloudHSMClient": {
        "properties": {
          "Client": {
            "$ref": "#/components/schemas/CloudHSMClient"
          }
        },
        "type": "object"
      },
      "PatchedWrappedCloudHSMSoftwareLicense": {
        "properties": {
          "License": {
            "$ref": "#/components/schemas/CloudHSMSoftwareLicense"
          }
        },
        "type": "object"
      },
      "PatchedWrappedKey": {
        "properties": {
          "Key": {
            "$ref": "#/components/schemas/Key"
          }
        },
        "type": "object"
      },
      "PatchedWrappedSecretRotationSchedule": {
        "properties": {
          "SecretRotationSchedule": {
            "$ref": "#/components/schemas/SecretRotationSchedule"
          }
        },
        "type": "object"
      },
      "PatchedWrappedVault": {
        "properties": {
          "Vault": {
            "$ref": "#/components/schemas/Vault"
          }
        },
        "type": "object"
      },
      "ScheduleDestructionKey": {
        "description": "鍵の削除をスケジュールするためのシリアライザ",
        "properties": {
          "PendingDays": {
            "default": 7,
            "description": "削除をスケジュールする日数",
            "example": 7,
            "maximum": 90,
            "minimum": 7,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Secret": {
        "properties": {
          "LatestVersion": {
            "example": 0,
            "readOnly": true,
            "type": "integer"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "SecretRotationSchedule": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "LastExecutedAt": {
            "example": "2025-02-05T12:19:22.551827+09:00",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "title": "最終実行日時",
            "type": "string"
          },
          "LastMessage": {
            "readOnly": true,
            "title": "最終エラーメッセージ",
            "type": "string"
          },
          "LastStatus": {
            "description": "* `success` - 成功\n* `failed` - 失敗",
            "enum": [
              "success",
              "failed"
            ],
            "readOnly": true,
            "title": "最終ステータス",
            "type": "string",
            "x-spec-enum-id": "4489b0495568b464"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "RotationInterval": {
            "maxLength": 20,
            "title": "ローテーション間隔",
            "type": "string"
          },
          "ScheduledAfter": {
            "example": "2025-02-05T12:19:22.551827+09:00",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "title": "次回実行予定日時",
            "type": "string"
          },
          "Secret": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SecretRotationScheduleSecret"
              }
            ],
            "readOnly": true
          },
          "ServicePrincipalID": {
            "readOnly": true,
            "title": "サービスプリンシパルID",
            "type": "string"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "Target": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SecretRotationScheduleTarget"
              }
            ],
            "readOnly": true
          }
        },
        "required": [
          "Name",
          "RotationInterval"
        ],
        "type": "object"
      },
      "SecretRotationScheduleHistory": {
        "properties": {
          "ExecutedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Message": {
            "readOnly": true,
            "title": "メッセージ",
            "type": "string"
          },
          "SecretVersion": {
            "nullable": true,
            "readOnly": true,
            "title": "シークレットバージョン",
            "type": "integer"
          },
          "Status": {
            "description": "* `success` - 成功\n* `failed` - 失敗",
            "enum": [
              "success",
              "failed"
            ],
            "readOnly": true,
            "title": "ステータス",
            "type": "string",
            "x-spec-enum-id": "4489b0495568b464"
          }
        },
        "type": "object"
      },
      "SecretRotationScheduleSecret": {
        "properties": {
          "Name": {
            "maxLength": 256,
            "type": "string"
          },
          "VaultID": {
            "type": "string"
          }
        },
        "required": [
          "Name",
          "VaultID"
        ],
        "type": "object"
      },
      "SecretRotationScheduleTarget": {
        "properties": {
          "ReadOnlyUser": {
            "default": false,
            "type": "boolean"
          },
          "ResourceID": {
            "example": "110000000000",
            "type": "string"
          },
          "type": {
            "description": "* `database-appliance` - DBアプライアンス\n* `enhanced-db` - エンハンスドDB",
            "enum": [
              "database-appliance",
              "enhanced-db"
            ],
            "type": "string",
            "x-spec-enum-id": "df45daa153789bf3"
          }
        },
        "required": [
          "ResourceID",
          "type"
        ],
        "type": "object"
      },
      "Unveil": {
        "properties": {
          "Name": {
            "type": "string"
          },
          "Value": {
            "readOnly": true,
            "type": "string"
          },
          "Version": {
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "Vault": {
        "properties": {
          "CreatedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Description": {
            "title": "説明",
            "type": "string"
          },
          "ID": {
            "example": "110000000000",
            "readOnly": true,
            "type": "string"
          },
          "KmsKeyID": {
            "example": "110000000000",
            "readOnly": true,
            "title": "KMS 鍵ID",
            "type": "string"
          },
          "ModifiedAt": {
            "$ref": "#/components/schemas/DateTime"
          },
          "Name": {
            "maxLength": 255,
            "title": "名前",
            "type": "string"
          },
          "Tags": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "WrappedChangeKeyState": {
        "properties": {
          "Key": {
            "$ref": "#/components/schemas/ChangeKeyState"
          }
        },
        "required": [
          "Key"
        ],
        "type": "object"
      },
      "WrappedCloudHSM": {
        "properties": {
          "CloudHSM": {
            "$ref": "#/components/schemas/CloudHSM"
          }
        },
        "required": [
          "CloudHSM"
        ],
        "type": "object"
      },
      "WrappedCloudHSMClient": {
        "properties": {
          "Client": {
            "$ref": "#/components/schemas/CloudHSMClient"
          }
        },
        "required": [
          "Client"
        ],
        "type": "object"
      },
      "WrappedCloudHSMDocument": {
        "properties": {
          "Document": {
            "$ref": "#/components/schemas/CloudHSMDocument"
          }
        },
        "required": [
          "Document"
        ],
        "type": "object"
      },
      "WrappedCloudHSMDocumentDownload": {
        "properties": {
          "Document": {
            "$ref": "#/components/schemas/CloudHSMDocumentDownload"
          }
        },
        "required": [
          "Document"
        ],
        "type": "object"
      },
      "WrappedCloudHSMSoftwareLicense": {
        "properties": {
          "License": {
            "$ref": "#/components/schemas/CloudHSMSoftwareLicense"
          }
        },
        "required": [
          "License"
        ],
        "type": "object"
      },
      "WrappedCreateCloudHSM": {
        "properties": {
          "CloudHSM": {
            "$ref": "#/components/schemas/CreateCloudHSM"
          }
        },
        "required": [
          "CloudHSM"
        ],
        "type": "object"
      },
      "WrappedCreateCloudHSMClient": {
        "properties": {
          "Client": {
            "$ref": "#/components/schemas/CreateCloudHSMClient"
          }
        },
        "required": [
          "Client"
        ],
        "type": "object"
      },
      "WrappedCreateCloudHSMSoftwareLicense": {
        "properties": {
          "License": {
            "$ref": "#/components/schemas/CreateCloudHSMSoftwareLicense"
          }
        },
        "required": [
          "License"
        ],
        "type": "object"
      },
      "WrappedCreateKey": {
        "properties": {
          "Key": {
            "$ref": "#/components/schemas/CreateKey"
          }
        },
        "required": [
          "Key"
        ],
        "type": "object"
      },
      "WrappedCreateSecret": {
        "properties": {
          "Secret": {
            "$ref": "#/components/schemas/CreateSecret"
          }
        },
        "required": [
          "Secret"
        ],
        "type": "object"
      },
      "WrappedCreateSecretRotationSchedule": {
        "properties": {
          "SecretRotationSchedule": {
            "$ref": "#/components/schemas/CreateSecretRotationSchedule"
          }
        },
        "required": [
          "SecretRotationSchedule"
        ],
        "type": "object"
      },
      "WrappedCreateVault": {
        "properties": {
          "Vault": {
            "$ref": "#/components/schemas/CreateVault"
          }
        },
        "required": [
          "Vault"
        ],
        "type": "object"
      },
      "WrappedKey": {
        "properties": {
          "Key": {
            "$ref": "#/components/schemas/Key"
          }
        },
        "required": [
          "Key"
        ],
        "type": "object"
      },
      "WrappedScheduleDestructionKey": {
        "properties": {
          "Key": {
            "$ref": "#/components/schemas/ScheduleDestructionKey"
          }
        },
        "required": [
          "Key"
        ],
        "type": "object"
      },
      "WrappedSecretRotationSchedule": {
        "properties": {
          "SecretRotationSchedule": {
            "$ref": "#/components/schemas/SecretRotationSchedule"
          }
        },
        "required": [
          "SecretRotationSchedule"
        ],
        "type": "object"
      },
      "WrappedUnveil": {
        "properties": {
          "Secret": {
            "$ref": "#/components/schemas/Unveil"
          }
        },
        "required": [
          "Secret"
        ],
        "type": "object"
      },
      "WrappedVault": {
        "properties": {
          "Vault": {
            "$ref": "#/components/schemas/Vault"
          }
        },
        "required": [
          "Vault"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "description": "APIキーとシークレットをご利用ください",
        "scheme": "basic",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "さくらのクラウド KMS / SecretManager / CloudHSM API",
    "title": "KMS/SecretManager/CloudHSM API",
    "version": "1.1.1"
  },
  "openapi": "3.0.3",
  "paths": {
    "/cloudhsm/cloudhsms": {
      "get": {
        "operationId": "listCloudHSMs",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedCloudHSMList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "post": {
        "operationId": "createCloudHSM",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCreateCloudHSM"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCreateCloudHSM"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/cloudhsms/{cloudhsm_resource_id}/clients": {
      "get": {
        "operationId": "listCloudHSMClients",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "path",
            "name": "cloudhsm_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedCloudHSMClientList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "post": {
        "operationId": "createCloudHSMClient",
        "parameters": [
          {
            "in": "path",
            "name": "cloudhsm_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCreateCloudHSMClient"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCreateCloudHSMClient"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/cloudhsms/{cloudhsm_resource_id}/clients/{id}": {
      "delete": {
        "operationId": "deleteCloudHSMClient",
        "parameters": [
          {
            "in": "path",
            "name": "cloudhsm_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A unique value identifying this CloudHSMクライアント.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No response body"
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "get": {
        "operationId": "readCloudHSMClient",
        "parameters": [
          {
            "in": "path",
            "name": "cloudhsm_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A unique value identifying this CloudHSMクライアント.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMClient"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "patch": {
        "operationId": "patchCloudHSMClient",
        "parameters": [
          {
            "in": "path",
            "name": "cloudhsm_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A unique value identifying this CloudHSMクライアント.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchedWrappedCloudHSMClient"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMClient"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "put": {
        "operationId": "updateCloudHSMClient",
        "parameters": [
          {
            "in": "path",
            "name": "cloudhsm_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A unique value identifying this CloudHSMクライアント.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCloudHSMClient"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMClient"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/cloudhsms/{resource_id}": {
      "delete": {
        "operationId": "deleteCloudHSM",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No response body"
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "get": {
        "operationId": "readCloudHSM",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSM"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "patch": {
        "operationId": "patchCloudHSM",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchedWrappedCloudHSM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSM"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "put": {
        "operationId": "updateCloudHSM",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCloudHSM"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSM"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/cloudhsms/{resource_id}/peers": {
      "get": {
        "operationId": "listCloudHSMPeers",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSM"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "post": {
        "operationId": "createCloudHSMPeer",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCloudHSM"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSM"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/cloudhsms/{resource_id}/peers/{peer_id}": {
      "delete": {
        "operationId": "deleteCloudHSMPeer",
        "parameters": [
          {
            "in": "path",
            "name": "peer_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No response body"
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/licenses": {
      "get": {
        "operationId": "listCloudHSMLicenses",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedCloudHSMSoftwareLicenseList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "post": {
        "operationId": "createCloudHSMLicense",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCreateCloudHSMSoftwareLicense"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCreateCloudHSMSoftwareLicense"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/licenses/{license_resource_id}/documents": {
      "get": {
        "operationId": "listCloudHSMDocuments",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "path",
            "name": "license_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedCloudHSMDocumentList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/licenses/{license_resource_id}/documents/{id}": {
      "get": {
        "operationId": "readCloudHSMDocument",
        "parameters": [
          {
            "description": "A unique value identifying this CloudHSMドキュメント.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "license_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMDocument"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/licenses/{license_resource_id}/documents/{id}/download": {
      "post": {
        "operationId": "downloadCloudHSMDocument",
        "parameters": [
          {
            "description": "A unique value identifying this CloudHSMドキュメント.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "license_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCloudHSMDocumentDownload"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMDocumentDownload"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/cloudhsm/licenses/{resource_id}": {
      "delete": {
        "operationId": "deleteCloudHSMLicense",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No response body"
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "get": {
        "operationId": "readCloudHSMLicense",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMSoftwareLicense"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "patch": {
        "operationId": "patchCloudHSMLicense",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchedWrappedCloudHSMSoftwareLicense"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMSoftwareLicense"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      },
      "put": {
        "operationId": "updateCloudHSMLicense",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCloudHSMSoftwareLicense"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCloudHSMSoftwareLicense"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "cloudhsm"
        ]
      }
    },
    "/kms/keys": {
      "get": {
        "operationId": "listKeys",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedKeyList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      },
      "post": {
        "operationId": "createKey",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCreateKey"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCreateKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      }
    },
    "/kms/keys/{resource_id}": {
      "delete": {
        "operationId": "deleteKey",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No response body"
          }
        },
        "tags": [
          "kms-key"
        ]
      },
      "get": {
        "operationId": "readKey",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      },
      "patch": {
        "operationId": "patchKey",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchedWrappedKey"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      },
      "put": {
        "operationId": "updateKey",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedKey"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      }
    },
    "/kms/keys/{resource_id}/decrypt": {
      "post": {
        "operationId": "decryptDataWithKey",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedKey"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      }
    },
    "/kms/keys/{resource_id}/encrypt": {
      "post": {
        "operationId": "encryptDataWithKey",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedKey"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      }
    },
    "/kms/keys/{resource_id}/rotate": {
      "post": {
        "operationId": "rotateKey",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedKey"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      }
    },
    "/kms/keys/{resource_id}/schedule-destruction": {
      "post": {
        "operationId": "scheduleKeyDestruction",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedScheduleDestructionKey"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedScheduleDestructionKey"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      }
    },
    "/kms/keys/{resource_id}/status": {
      "post": {
        "operationId": "changeKeyStatus",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedChangeKeyState"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedChangeKeyState"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "kms-key"
        ]
      }
    },
    "/secretmanager/secret-rotation-schedules": {
      "get": {
        "operationId": "listSecretRotationSchedules",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSecretRotationScheduleList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "post": {
        "operationId": "createSecretRotationSchedule",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCreateSecretRotationSchedule"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCreateSecretRotationSchedule"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    },
    "/secretmanager/secret-rotation-schedules/{resource_id}": {
      "delete": {
        "operationId": "deleteSecretRotationSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No response body"
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "get": {
        "operationId": "readSecretRotationSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedSecretRotationSchedule"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "patch": {
        "operationId": "patchSecretRotationSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchedWrappedSecretRotationSchedule"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedSecretRotationSchedule"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "put": {
        "operationId": "updateSecretRotationSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedSecretRotationSchedule"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedSecretRotationSchedule"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    },
    "/secretmanager/secret-rotation-schedules/{resource_id}/execute": {
      "post": {
        "operationId": "executeSecretRotation",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedSecretRotationSchedule"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedSecretRotationSchedule"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    },
    "/secretmanager/secret-rotation-schedules/{secret_rotation_schedule_resource_id}/histories": {
      "get": {
        "operationId": "listSecretRotationScheduleHistories",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "path",
            "name": "secret_rotation_schedule_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSecretRotationScheduleHistoryList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    },
    "/secretmanager/vaults": {
      "get": {
        "operationId": "listVaults",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedVaultList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "post": {
        "operationId": "createVault",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCreateVault"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCreateVault"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    },
    "/secretmanager/vaults/{resource_id}": {
      "delete": {
        "operationId": "deleteVault",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No response body"
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "get": {
        "operationId": "readVault",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedVault"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "patch": {
        "operationId": "patchVault",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchedWrappedVault"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedVault"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "put": {
        "operationId": "updateVault",
        "parameters": [
          {
            "in": "path",
            "name": "resource_id",
            "required": true,
            "schema": {
              "title": "リソースID",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedVault"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedVault"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    },
    "/secretmanager/vaults/{vault_resource_id}/secrets": {
      "get": {
        "operationId": "listVaultSecrets",
        "parameters": [
          {
            "description": "Number of results to return per page.",
            "in": "query",
            "name": "Count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The initial index from which to return the results.",
            "in": "query",
            "name": "From",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "path",
            "name": "vault_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSecretList"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      },
      "post": {
        "description": "新しいバージョンを作成します。シークレット値は最新を含む50世代まで保持され、より古い世代は削除されます。",
        "operationId": "createVaultSecret",
        "parameters": [
          {
            "in": "path",
            "name": "vault_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedCreateSecret"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedCreateSecret"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    },
    "/secretmanager/vaults/{vault_resource_id}/secrets/unveil": {
      "post": {
        "description": "シークレット値を取得します。取得できるのは最新を含む50世代までです。",
        "operationId": "unveilSecret",
        "parameters": [
          {
            "in": "path",
            "name": "vault_resource_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WrappedUnveil"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WrappedUnveil"
                }
              }
            },
            "description": ""
          }
        },
        "tags": [
          "secretmanager-vault"
        ]
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "servers": [
    {
      "description": "石狩第1ゾーン",
      "url": "https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1"
    },
    {
      "description": "石狩第2ゾーン",
      "url": "https://secure.sakura.ad.jp/cloud/zone/is1b/api/cloud/1.1"
    },
    {
      "description": "石狩第3ゾーン",
      "url": "https://secure.sakura.ad.jp/cloud/zone/is1c/api/cloud/1.1"
    },
    {
      "description": "東京第1ゾーン",
      "url": "https://secure.sakura.ad.jp/cloud/zone/tk1a/api/cloud/1.1"
    },
    {
      "description": "東京第2ゾーン",
      "url": "https://secure.sakura.ad.jp/cloud/zone/tk1b/api/cloud/1.1"
    }
  ]
}
