{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-set-secret-request-schema.json", "title": "SetSecretRequest", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/sakura-internet-eventbus-openapi.yml#/components/schemas/SetSecretRequest", "type": "object", "required": [ "Secret" ], "properties": { "Secret": { "oneOf": [ { "$ref": "#/$defs/SacloudAPISecret" }, { "$ref": "#/$defs/SimpleMQSecret" } ], "description": "設定するシークレット値" } }, "$defs": { "SacloudAPISecret": { "type": "object", "required": [ "AccessToken", "AccessTokenSecret" ], "properties": { "AccessToken": { "type": "string", "description": "さくらのクラウドのアクセストークン" }, "AccessTokenSecret": { "type": "string", "description": "さくらのクラウドのアクセストークンシークレット" } } }, "SimpleMQSecret": { "type": "object", "required": [ "APIKey" ], "properties": { "APIKey": { "type": "string", "description": "SimpleMQのキューのAPIキー" } } } } }