{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a duplicate of the secret, keeping the value.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","maxLength":32,"examples":["985e105f4ecef8ad9ca31a8372d0c353"],"description":"Account identifier."},"store_id":{"type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"],"description":"Store identifier."},"secret_id":{"type":"string","maxLength":32,"examples":["3fd85f74b32742f1bff64a85009dda07"],"description":"Secret identifier."}},"required":["account_id","store_id","secret_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/secrets-store_duplicateSecretObject"}},"required":["path","body"],"additionalProperties":false,"definitions":{"secrets-store_duplicateSecretObject":{"properties":{"comment":{"$ref":"#/definitions/secrets-store_comment"},"name":{"$ref":"#/definitions/secrets-store_secret_name"},"scopes":{"$ref":"#/definitions/secrets-store_scopes"}},"required":["name"]},"secrets-store_comment":{"description":"Freeform text describing the secret.","type":"string","examples":["info about my secret"]},"secrets-store_secret_name":{"description":"The name of the secret.","type":"string","examples":["MY_API_KEY"]},"secrets-store_scopes":{"description":"The list of services that can use this secret. Omit it on create or duplicate to inherit the store's scopes. An empty list lets no service use the secret.","type":"array","items":{"enum":["workers","ai_gateway","dex","access","containers","websearch"],"type":"string"},"examples":[["workers","ai_gateway","dex","access","websearch"]]}}},"name":"Duplicate Secret","id":"cloudflare.secrets-store-duplicate-by-id","example":{"path":{"account_id":"985e105f4ecef8ad9ca31a8372d0c353","store_id":"023e105f4ecef8ad9ca31a8372d0c353","secret_id":"3fd85f74b32742f1bff64a85009dda07"},"body":{"name":"MY_API_KEY"}},"maxRequests":1,"summary":false}}