Package: ibmiam
Sub-Packages
Constants
-
const EnvProviderName = readonly
EnvProviderName name of the IBM IAM provider that loads IAM credentials from environment variables
-
Value:
"EnvProviderIBM" -
const StaticProviderName = readonly
StaticProviderName name of the IBM IAM provider that uses IAM details passed directly
-
Value:
"StaticProviderIBM" -
Value:
"SharedConfigProviderIBM" -
const CustomInitFuncProviderName = readonly
CustomInitFuncProviderName the Name of the IBM IAM provider with a custom init function
-
Value:
"CustomInitFuncProviderIBM" -
Value:
"SharedCredentialsProviderIBM"
Type Summary collapse
-
Provider
struct
Provider Struct.
Function Summary collapse
-
func NewConfigCredentials(config *aws.Config, filename, profilename string) *credentials.Credentials
NewConfigCredentials Constructor.
-
func NewEnvCredentials(config *aws.Config) *credentials.Credentials
NewEnvCredentials Constructor.
-
func NewSharedCredentials(config *aws.Config, filename, profilename string) *credentials.Credentials
NewSharedCredentials constructor for IBM IAM that uses IAM credentials passed in Returns:.
-
func NewStaticCredentials(config *aws.Config, authEndPoint, apiKey, serviceInstanceID string) *credentials.Credentials
NewStaticCredentials constructor for IBM IAM that uses IAM credentials passed in Returns: credentials.NewCredentials(newStaticProvider()) (AWS type).
Function Details
func NewConfigCredentials(config *aws.Config, filename, profilename string) *credentials.Credentials
NewConfigCredentials Constructor
70 71 72 |
// File 'aws/credentials/ibmiam/shared_config_provider.go', line 70
|
func NewEnvCredentials(config *aws.Config) *credentials.Credentials
NewEnvCredentials Constructor
32 33 34 |
// File 'aws/credentials/ibmiam/env_provider.go', line 32
|
func NewSharedCredentials(config *aws.Config, filename, profilename string) *credentials.Credentials
NewSharedCredentials constructor for IBM IAM that uses IAM credentials passed in Returns:
credentials.NewCredentials(newSharedCredentialsProvider()) (AWS type)
66 67 68 |
// File 'aws/credentials/ibmiam/shared_credentials_provider.go', line 66
|
func NewStaticCredentials(config *aws.Config, authEndPoint, apiKey, serviceInstanceID string) *credentials.Credentials
NewStaticCredentials constructor for IBM IAM that uses IAM credentials passed in Returns: credentials.NewCredentials(newStaticProvider()) (AWS type)
18 19 20 |
// File 'aws/credentials/ibmiam/static_provider.go', line 18
|