Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
smyja committed Jun 24, 2023
1 parent 56823d8 commit cdd9b49
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plugins/render/api_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand All @@ -51,7 +48,6 @@ func APIKey() schema.CredentialType {
}

var defaultEnvVarMapping = map[string]sdk.FieldName{
"RENDER_API_KEY": fieldname.APIKey,
}

func TryRenderConfigFile() sdk.Importer {
Expand Down

0 comments on commit cdd9b49

Please sign in to comment.