- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewCustomTokenCredentials (0.1 sec)
-
docs/sts/custom-token-identity.go
// AssumeRoleWithCustomToken STS API. var opts []cr.CustomTokenOpt if expiryDuration != 0 { opts = append(opts, cr.CustomTokenValidityOpt(expiryDuration)) } // Initialize li, err := cr.NewCustomTokenCredentials(stsEndpoint, token, roleArn, opts...) if err != nil { log.Fatalf("Error initializing CustomToken Identity: %v", err) } v, err := li.Get() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 3.4K bytes - Viewed (0)