GetOrgPublicKey gets the org public key for encrypting codespace secrets Gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets. You must authenticate using an access token with the admi
(ctx context.Context, org string)
| 96 | // |
| 97 | //meta:operation GET /orgs/{org}/codespaces/secrets/public-key |
| 98 | func (s *CodespacesService) GetOrgPublicKey(ctx context.Context, org string) (*PublicKey, *Response, error) { |
| 99 | return s.getPublicKey(ctx, fmt.Sprintf("orgs/%v/codespaces/secrets/public-key", org)) |
| 100 | } |
| 101 | |
| 102 | // GetRepoPublicKey gets the repo public key for encrypting codespace secrets |
| 103 | // |
nothing calls this directly
no test coverage detected