Skip to content

Commit 8daec43

Browse files
committed
docs(coder/github-upload-public-key): recommend write:ssh_signing_key scope
1 parent fa6b04a commit 8daec43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • registry/coder/modules/github-upload-public-key

‎registry/coder/modules/github-upload-public-key/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ CODER_EXTERNAL_AUTH_0_SCOPES="repo,workflow,admin:public_key"
5454

5555
Note that the default scopes if not provided are `repo,workflow`. If the module is failing to complete after updating the external auth configuration, instruct users of the module to "Unlink" and "Link" their Github account in the External Auth user settings page to get the new scopes.
5656

57-
When `key_type` is `signing` or `both`, the Github app must also have read and write permissions to "SSH signing keys", and the external auth configuration must include the `admin:ssh_signing_key` scope. For example:
57+
When `key_type` is `signing` or `both`, the Github app must also have read and write permissions to "SSH signing keys", and the external auth configuration must include the `write:ssh_signing_key` scope. For example:
5858

5959
```txt
60-
CODER_EXTERNAL_AUTH_0_SCOPES="repo,workflow,admin:public_key,admin:ssh_signing_key"
60+
CODER_EXTERNAL_AUTH_0_SCOPES="repo,workflow,admin:public_key,write:ssh_signing_key"
6161
```
6262

6363
## Example

0 commit comments

Comments
 (0)