1、登录CloudFlare。 2、在左上角点击头像小图标,在展开的面板上,点击[My Profile] 3、在新打开的页面中找到[API Tokens]菜单,点击。 4、在[API Tokens]界面上点击[Create Token]按钮。 5、在新打开的页面中,找到[Edit zone DNS],点击[Use template]按钮。 6、在新打开的[Create Token]页面设置名称和权限,...
选择"Create Token"或"Create API Token"(具体的命名可能有所不同)。 5.选择Token类型和权限:在创建新Token的过程中,您需要选择Token的类型和分配权限。通常,您可以选择"API Token"类型,然后为Token分配需要的权限,如DNS管理、Zone设置等。 6.定义Token的名称和有效期:为您的Token指定一个易于识别的名称,并选择...
单击Get your API token>Create Token>Edit zone DNS 在Permissions栏中,设置为Edit 在Zone Resources栏中,选中你的域名 单击Continue to summary>Create Token 记录下这个界面的 Token 获取Record ID 获取Record ID需要使用 GET 方法。示例 curl -X GET "https://api.cloudflare.com/client/v4/zones/{ZONE_ID}...
Create an API token to grant access to the API to perform actions. You can also authenticate with API keys, but these keys have several limitations that make them less secure than API tokens. Whenever possible, use API tokens to interact with the Cloudflare API....
exportCF_Token="先前获取的APIToken"exportCF_Mail="Cloudflar的注册邮箱"exportSYNO_Username="acme(刚才群晖注册的用户名)"exportSYNO_Password="刚才群晖注册用户的密码"exportSYNO_Certificate="Let's Encrypt"exportSYNO_Create=1 接下使用以下命令获取第一个证书。请务必更新您的域名。
Select the API Tokens tab. The existing tokens will display.Select Create Token.Select Get started next to Create Custom Token.Select Account and Access: Organizations, Identity Providers, and Groups in the drop-downs under Permissions. You can configure the token to be Read or Write in the ...
然后我们需要记录我们生成的 API_secret 和 API_token,以便后续使用。 我们还需要获取我们 CloudFlare 的 account_id 和 worker 的 API_token。 获取这些值的步骤: 登录到 Cloudflare 控制面板并选择您的账户。 转到AI > Workers AI。 选择使用 Workers AI API。
今年第一篇贴一个通过CloudflareAPI更新DNS记录的脚本 过程基于OpenWRT系统,需要先安装curl和jsonfilter 先在Profile->api-tokens中申请一个API Token,权限需要Zone->Zone以及Zone->DNS的Edit权限 得到的token作为变量cftoken 需要知道zone的ID,可以在域名Overview中看到,作为变量zoneid ...
登录CloudFlare 账户,依次打开API Token- Create Token - Create Custom Token 在Token name 处填写一个令牌名称 在Permission设置令牌权限为Account - CloudFlare Pages - Edit CloudFlare API Token 保存生成的令牌到稍后备用。 6. 在 Drone CI 中添加令牌 ...
Email address to login to Cloudflare API Cloudflare Account ID Cloudflare API token with Account:MyAccount Tunnel:Edit capability Optional The Tunnel requires a secret to launch, if one is not supplied the App can create one for you. But as this secret is essential for launching the tunnel ...