(client *api.Client, host, orgName string, app shared.App)
| 40 | } |
| 41 | |
| 42 | func getOrgPublicKey(client *api.Client, host, orgName string, app shared.App) (*PubKey, error) { |
| 43 | return getPubKey(client, host, fmt.Sprintf("orgs/%s/%s/secrets/public-key", orgName, app)) |
| 44 | } |
| 45 | |
| 46 | func getUserPublicKey(client *api.Client, host string) (*PubKey, error) { |
| 47 | return getPubKey(client, host, "user/codespaces/secrets/public-key") |