{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create a new Spaces Access Key, send a POST request to `/v2/spaces/keys`.\nAt the moment, you cannot mix a fullaccess permission with scoped permissions.\nA fullaccess permission will be prioritized if fullaccess and scoped permissions are both added.\n","properties":{"body":{"$ref":"#/definitions/key","examples":[{"name":"read-only-key","grants":[{"bucket":"my-bucket","permission":"read"}]}]}},"required":["body"],"additionalProperties":false,"definitions":{"key":{"type":"object","properties":{"name":{"type":"string","description":"The access key's name.","examples":["my-access-key"]},"grants":{"type":"array","description":"The list of permissions for the access key.","items":{"$ref":"#/definitions/grant"},"default":[]}}},"grant":{"type":"object","properties":{"bucket":{"type":"string","description":"The name of the bucket.","examples":["my-bucket"]},"permission":{"type":"string","description":"The permission to grant to the user. Possible values are `read`, `readwrite`, `fullaccess`, or an empty string.","examples":["read"]}},"required":["bucket","permission"]}}},"name":"Create a New Spaces Access Key","id":"digitalocean.spaceskey_create","example":{"body":{}},"maxRequests":1,"summary":false}}