Skip to content

Commit 6132da4

Browse files
hculeaflorisvdgSimonBarendse
authored
Make public key not be secret, use a different docs URL for the credential
Co-authored-by: Floris van der Grinten <floris@grinten.com> Co-authored-by: Simon Barendse <SimonBarendse@users.noreply.github.com>
1 parent d369cad commit 6132da4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/atlas/apikey.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import (
1212
func APIKey() schema.CredentialType {
1313
return schema.CredentialType{
1414
Name: credname.APIKey,
15-
DocsURL: sdk.URL("https://www.mongodb.com/docs/atlas/cli/stable/atlas-cli-env-variables/"),
15+
DocsURL: sdk.URL("https://www.mongodb.com/docs/atlas/configure-api-access/"),
1616
ManagementURL: nil,
1717
Fields: []schema.CredentialField{
1818
{
1919
Name: fieldname.PublicKey,
2020
MarkdownDescription: "Public key used to authenticate to MongoDB Atlas.",
21-
Secret: true,
21+
Secret: false,
2222
Composition: &schema.ValueComposition{
2323
Length: 8,
2424
Charset: schema.Charset{

0 commit comments

Comments
 (0)