gh secret remove
gh secret remove <secret-name> [flags]
删除以下级别之一的机密:
- repository(默认):可用于 存储库
- environment:部署环境的操作
- organization:组织内
- user:代码空间
Options
-e
,--env <string>
- 移除环境的机密
-o
,--org <string>
- 移除组织的机密
-u
,--user
- 移除用户的机密
Options inherited from parent commands
-R
,--repo <[HOST/]OWNER/REPO>
- 使用 [HOST/]OWNER/REPO 格式,选择另一存储库