- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for newGlobalAuthZPluginFn (0.09 sec)
-
cmd/sts-handlers.go
policies := strings.Join(policySet.ToSlice(), ",") if ok { policyName = globalIAMSys.CurrentPolicies(policies) } if newGlobalAuthZPluginFn() == nil { if !ok { writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("%s claim missing from the JWT token, credentials will not be generated", iamPolicyClaimNameOpenID())) return
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.6K bytes - Viewed (0) -
cmd/globals.go
var globalAuthPluginMutex sync.Mutex func newGlobalAuthNPluginFn() *idplugin.AuthNPlugin { globalAuthPluginMutex.Lock() defer globalAuthPluginMutex.Unlock() return globalAuthNPlugin } func newGlobalAuthZPluginFn() *polplugin.AuthZPlugin { globalAuthPluginMutex.Lock() defer globalAuthPluginMutex.Unlock() return globalAuthZPlugin } func setGlobalAuthNPlugin(authn *idplugin.AuthNPlugin) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (1) -
cmd/auth-handler.go
} claims, err = auth.ExtractClaims(token, globalActiveCred.SecretKey) if err != nil { return nil, errAuthentication } } // If AuthZPlugin is set, return without any further checks. if newGlobalAuthZPluginFn() != nil { return claims, nil } // Check if a session policy is set. If so, decode it here. sp, spok := claims.Lookup(policy.SessionPolicyName) if spok {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
cmd/iam.go
func (sys *IAMSys) SetTempUser(ctx context.Context, accessKey string, cred auth.Credentials, policyName string) (time.Time, error) { if !sys.Initialized() { return time.Time{}, errServerNotInitialized } if newGlobalAuthZPluginFn() != nil { // If OPA is set, we do not need to set a policy mapping. policyName = "" } updatedAt, err := sys.store.SetTempUser(ctx, accessKey, cred, policyName) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
cmd/admin-handlers-users.go
var effectivePolicy policy.Policy var buf []byte switch { case accountName == globalActiveCred.AccessKey || newGlobalAuthZPluginFn() != nil: // For owner account and when plugin authZ is configured always set // effective policy as `consoleAdmin`. // // In the latter case, we let the UI render everything, but individual
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0)