Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JWTSignWithAccessKey (0.09 sec)

  1. cmd/iam-store.go

    			m.Set(policy.SessionPolicyName, base64.StdEncoding.EncodeToString(policyBuf))
    			m.Set(iamPolicyClaimNameSA(), embeddedPolicyType)
    		}
    	}
    
    	cr.SessionToken, err = auth.JWTSignWithAccessKey(accessKey, m.Map(), 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top