From cdd9b49bd367f1f764820d1e928866aff1b80e3e Mon Sep 17 00:00:00 2001 From: Smyja Date: Sat, 24 Jun 2023 21:03:30 +0100 Subject: [PATCH] update --- plugins/render/api_key.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/render/api_key.go b/plugins/render/api_key.go index 710eef8b6..5b9d445a5 100644 --- a/plugins/render/api_key.go +++ b/plugins/render/api_key.go @@ -12,20 +12,17 @@ import ( ) type Config struct { - Version int - SSHPreserveHosts bool `yaml:"sshPreserveHosts"` Profiles map[string]Profile } type Profile struct { - DefaultRegion string `yaml:"defaultRegion"` APIKey string `yaml:"apiKey"` } func APIKey() schema.CredentialType { return schema.CredentialType{ Name: credname.APIKey, - DocsURL: sdk.URL("https://render.com/docs/api_key"), + DocsURL: sdk.URL("https://render.com/docs"), ManagementURL: sdk.URL("https://console.render.com/user/security/tokens"), Fields: []schema.CredentialField{ { @@ -51,7 +48,6 @@ func APIKey() schema.CredentialType { } var defaultEnvVarMapping = map[string]sdk.FieldName{ - "RENDER_API_KEY": fieldname.APIKey, } func TryRenderConfigFile() sdk.Importer {