Skip to content

Commit 60d9909

Browse files
authored
CBG-4737: Remove basic auth command line flags (#7679)
1 parent 024695a commit 60d9909

File tree

5 files changed

+283
-147
lines changed

5 files changed

+283
-147
lines changed

base/bootstrap.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,12 @@ func (cc *CouchbaseCluster) connectToBucket(ctx context.Context, bucketName stri
569569
type PerBucketCredentialsConfig map[string]*CredentialsConfig
570570

571571
type CredentialsConfig struct {
572-
Username string `json:"username,omitempty" help:"Username for authenticating to the bucket"`
573-
Password string `json:"password,omitempty" help:"Password for authenticating to the bucket"`
572+
Username string `json:"username,omitempty" help:"Username for authenticating to the bucket"`
573+
Password string `json:"password,omitempty" help:"Password for authenticating to the bucket"`
574+
CredentialsConfigX509
575+
}
576+
577+
type CredentialsConfigX509 struct {
574578
X509CertPath string `json:"x509_cert_path,omitempty" help:"Cert path (public key) for X.509 bucket auth"`
575579
X509KeyPath string `json:"x509_key_path,omitempty" help:"Key path (private key) for X.509 bucket auth"`
576580
}

0 commit comments

Comments
 (0)