Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetRoleArn (0.23 sec)

  1. internal/config/identity/openid/providercfg.go

    			provider.WithTransport(transport),
    			provider.WithRealm(realm),
    		)
    		return err
    	default:
    		return fmt.Errorf("Unsupported vendor %s", keyCloakVendor)
    	}
    }
    
    // GetRoleArn returns the role ARN.
    func (p *providerCfg) GetRoleArn() string {
    	if p.RolePolicy == "" {
    		return ""
    	}
    	return p.roleArn.String()
    }
    
    // UserInfo returns claims for authenticated user from userInfo endpoint.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    		// to widen its privileges.
    		return false
    	}
    
    	isOwnerDerived := parentUser == globalActiveCred.AccessKey
    
    	var err error
    	var svcPolicies []string
    	roleArn := args.GetRoleArn()
    
    	switch {
    	case isOwnerDerived:
    		// All actions are allowed by default and no policy evaluation is
    		// required.
    
    	case roleArn != "":
    		arn, err := arn.Parse(roleArn)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/common-main.go

    			RedirectCallbackDynamic: cfg.RedirectURIDynamic,
    			RedirectCallback:        callback,
    			EndSessionEndpoint:      cfg.DiscoveryDoc.EndSessionEndpoint,
    			RoleArn:                 cfg.GetRoleArn(),
    		}
    	}
    	return m
    }
    
    func initConsoleServer() (*consoleapi.Server, error) {
    	// unset all console_ environment variables.
    	for _, cenv := range env.List(consolePrefix) {
    		os.Unsetenv(cenv)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. cmd/admin-handlers-users.go

    	if cred.IsTemp() || cred.IsServiceAccount() {
    		// For derived credentials, check the parent user's permissions.
    		accountName = cred.ParentUser
    	}
    
    	roleArn := policy.Args{Claims: cred.Claims}.GetRoleArn()
    	policySetFromClaims, hasPolicyClaim := policy.GetPoliciesFromClaims(cred.Claims, iamPolicyClaimNameOpenID())
    	var effectivePolicy policy.Policy
    
    	var buf []byte
    	switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top