Skip to content

Commit

Permalink
mark GetAccessKeyId/GetAccessKeySecret/GetSecurityToken deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Apr 22, 2024
1 parent 9d98eda commit 8bddfc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions credentials/credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ var hookParse = func(err error) error {

// Credential is an interface for getting actual credential
type Credential interface {
// Deprecated: GetAccessKeyId is deprecated, use GetCredential instead of.
GetAccessKeyId() (*string, error)
// Deprecated: GetAccessKeySecret is deprecated, use GetCredential instead of.
GetAccessKeySecret() (*string, error)
// Deprecated: GetSecurityToken is deprecated, use GetCredential instead of.
GetSecurityToken() (*string, error)
GetBearerToken() *string
GetType() *string
Expand Down

0 comments on commit 8bddfc8

Please sign in to comment.