GetUserPublicKey gets the users public key for encrypting codespace secrets Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the codespace or codespace:secrets scope to use
(ctx context.Context)
| 85 | // |
| 86 | //meta:operation GET /user/codespaces/secrets/public-key |
| 87 | func (s *CodespacesService) GetUserPublicKey(ctx context.Context) (*PublicKey, *Response, error) { |
| 88 | return s.getPublicKey(ctx, "user/codespaces/secrets/public-key") |
| 89 | } |
| 90 | |
| 91 | // GetOrgPublicKey gets the org public key for encrypting codespace secrets |
| 92 | // |