func NewWebIdentityCredentials(c client.ConfigProvider, roleARN, roleSessionName, path string) *credentials.Credentials {
	svc := sts.New(c)
	p := NewWebIdentityRoleProvider(svc, roleARN, roleSessionName, path)
	return credentials.NewCredentials(p)
}
// NewWebIdentityCredentials will return a new set of credentials with a given
// configuration, role arn, and token file path.
NewWebIdentityCredentials will return a new set of credentials with a given
configuration, role arn, and token file path.
// NewWebIdentityCredentials will return a new set of credentials with a given // configuration role arn and token file path .
func NewWebIdentityCredentials(c client.ConfigProvider, roleARN, roleSessionName, path string) *credentials.Credentials {
	svc := sts.New(c)
	p := NewWebIdentityRoleProvider(svc, roleARN, roleSessionName, path)
	return credentials.NewCredentials(p)
}
func NewWebIdentityCredentials ( c client . ConfigProvider , roleARN , roleSessionName , path string ) * credentials . Credentials { svc := sts . New ( c ) p := NewWebIdentityRoleProvider ( svc , roleARN , roleSessionName , path ) return credentials . NewCredentials ( p ) }
NewWebIdentityCredentials will return a new set of credentials with a given
configuration, role arn, and token file path.
NewWebIdentityCredentials will return a new set of credentials with a given configuration role arn and token file path .