package
1.11.1
Repository: https://github.com/ibm/ibm-cos-sdk-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Helper function to check whether both api-key and trusted-profile-id are set in environment variables.
NewConfigCredentials Constructor.
NewCustomInitFuncCredentials costructor.
NewCustomInitFuncProvider constructor of IBM IAM Provider with a custom init Function Parameters: aws.config: AWS Config to provide service configuration for service clients.
NewEnvCredentials Constructor.
NewEnvCredentials Constructor.
NewEnvProvider constructor of the IBM IAM provider that loads IAM credentials from environment variables Parameter: AWS Config Returns: A new provider with AWS config, API Key, IBM IAM Authentication Server Endpoint and Service Instance ID.
NewEnvProvider constructor of the IBM IAM provider that loads IAM trusted profile credentials from environment variables Parameter: AWS Config Returns: A new provider with AWS config, Trusted Profile ID, CR token file path, IBM IAM Authentication Server Endpoint and Service Instance ID.
NewProvider allows the creation of a custom IBM IAM Provider Parameters: Provider Name AWS Config API Key IBM IAM Authentication Server Endpoint Service Instance ID Token Manager client Returns: Provider.
NewSharedConfigProvider constructor of the IBM IAM provider that loads IAM Credentials from shared config Parameters: AWS Config Profile filename Profile name Returns: Common Ini Provider with values.
NewSharedCredentials constructor for IBM IAM that uses IAM credentials passed in Returns: credentials.NewCredentials(newSharedCredentialsProvider()) (AWS type).
NewSharedCredentialsProvider constructor of the IBM IAM provider that loads IAM credentials from shared credentials file Parameters: AWS Config Profile filename Profile prefix Returns: Common initial provider with config file/profile.
NewStaticCredentials constructor for IBM IAM that uses IAM credentials passed in Returns: credentials.NewCredentials(newStaticProvider()) (AWS type).
NewStaticProvider constructor of the IBM IAM provider that uses IAM details passed directly Returns: New Provider (AWS type).
NewTrustedProfileCredentials constructor for IBM IAM that uses IAM trusted-profile credentials passed Returns: credentials.NewCredentials(newTrustedProfileProvider()) (AWS type).
NewTrustedProfileProvider allows the creation of a custom IBM IAM Trusted Profile Provider Parameters: Provider Name AWS Config Trusted Profile ID CR token file path IBM IAM Authentication Server Endpoint Service Instance ID Resource type Returns: TrustedProfileProvider.
NewTrustedProfileProviderWithCR constructor of the IBM IAM provider that uses IAM trusted-profile details passed Returns: New TrustedProfileProvider (AWS type).

# Constants

CustomInitFuncProviderName the Name of the IBM IAM provider with a custom init function.
EnvProviderName name of the IBM IAM provider that loads IAM credentials from environment variables.
EnvProviderName name of the IBM IAM provider that loads IAM trusted profile credentials from environment variables.
TrustedProfileProviderName name of the IBM IAM provider that uses IAM trusted-profile details passed directly.
SharedConfProviderName of the IBM IAM provider that loads IAM credentials from shared config.
SharedCredsProviderName name of the IBM IAM provider that loads IAM credentials from shared credentials file.
StaticProviderName name of the IBM IAM provider that uses IAM details passed directly.
TrustedProfileProviderName name of the IBM IAM provider that uses IAM trusted-profile details passed directly.

# Structs

Provider Struct.
Provider Struct.

# Type aliases

No description provided by the author