Browse Source

Update conjur-api-go; Disable credential storage (#5648)

Signed-off-by: Shlomo Zalman Heigh <shlomo.heigh@cyberark.com>
Shlomo Zalman Heigh 6 months ago
parent
commit
6ee5ec0d5d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      providers/v1/conjur/client.go

+ 1 - 2
providers/v1/conjur/client.go

@@ -82,8 +82,7 @@ func (c *Client) GetConjurClient(ctx context.Context) (SecretsClient, error) {
 		SSLCert:      string(cert),
 		// disable credential storage, as it depends on a writable
 		// file system, which we can't rely on - it would fail.
-		// see: https://github.com/cyberark/conjur-api-go/issues/183
-		NetRCPath: "/dev/null",
+		CredentialStorage: conjurapi.CredentialStorageNone,
 	}
 
 	if prov.Auth.APIKey != nil {