- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for JWTSignWithAccessKey (0.49 sec)
-
internal/auth/credentials.go
return cred, err } cred.Expiration = time.Unix(expiry, 0).UTC() cred.SessionToken, err = JWTSignWithAccessKey(cred.AccessKey, m, tokenSecret) if err != nil { return cred, err } return cred, nil } // JWTSignWithAccessKey - generates a session token. func JWTSignWithAccessKey(accessKey string, m map[string]interface{}, tokenSecret string) (string, error) { m["accessKey"] = accessKey
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0) -
cmd/iam-store.go
// Overwrite session policy claims. m[policy.SessionPolicyName] = base64.StdEncoding.EncodeToString(policyBuf) m[iamPolicyClaimNameSA()] = embeddedPolicyType } cr.SessionToken, err = auth.JWTSignWithAccessKey(accessKey, m, cr.SecretKey) if err != nil { return updatedAt, err } u := newUserIdentity(cr) if err := store.saveUserIdentity(ctx, u.Credentials.AccessKey, svcUser, u); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 75.8K bytes - Viewed (0)