Documentation ¶
Overview ¶
Package creds is intended for internal use only. It is made available to facilitate use cases that require access to internal MongoDB driver functionality and state. The API of this package is not stable and there is no backward compatibility guarantee.
WARNING: THIS PACKAGE IS EXPERIMENTAL AND MAY BE MODIFIED OR REMOVED WITHOUT NOTICE! USE WITH EXTREME CAUTION!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCredentialProvider ¶
type AWSCredentialProvider struct {
Cred *credentials.Credentials
}
AWSCredentialProvider wraps AWS credentials.
func NewAWSCredentialProvider ¶
func NewAWSCredentialProvider(httpClient *http.Client, providers ...credentials.Provider) AWSCredentialProvider
NewAWSCredentialProvider generates new AWSCredentialProvider
func (AWSCredentialProvider) GetCredentialsDoc ¶
GetCredentialsDoc generates AWS credentials.
type AzureCredentialProvider ¶
type AzureCredentialProvider struct {
// contains filtered or unexported fields
}
AzureCredentialProvider provides Azure credentials.
func NewAzureCredentialProvider ¶
func NewAzureCredentialProvider(httpClient *http.Client) AzureCredentialProvider
NewAzureCredentialProvider generates new AzureCredentialProvider
func (AzureCredentialProvider) GetCredentialsDoc ¶
GetCredentialsDoc generates Azure credentials.
type GCPCredentialProvider ¶
type GCPCredentialProvider struct {
// contains filtered or unexported fields
}
GCPCredentialProvider provides GCP credentials.
func NewGCPCredentialProvider ¶
func NewGCPCredentialProvider(httpClient *http.Client) GCPCredentialProvider
NewGCPCredentialProvider generates new GCPCredentialProvider
func (GCPCredentialProvider) GetCredentialsDoc ¶
GetCredentialsDoc generates GCP credentials.