Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SA (0.18 sec)

  1. cmd/iam.go

    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    	if err != nil {
    		return auth.Credentials{}, nil, err
    	}
    	// Hide secret & session keys
    	sa.Credentials.SecretKey = ""
    	sa.Credentials.SessionToken = ""
    	return sa.Credentials, embeddedPolicy, nil
    }
    
    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)
  2. internal/s3select/sql/value.go

    		bA, okAb := a.bytesToBool()
    		bB, okBb := b.bytesToBool()
    		if okAb && okBb {
    			a.setBool(bA)
    			b.setBool(bB)
    			return nil
    		}
    
    		// Fallback to string
    		sA := a.bytesToString()
    		sB := b.bytesToString()
    		a.setString(sA)
    		b.setString(sB)
    		return nil
    
    	case okA && !okB:
    		// Here a has `a` is untyped, but `b` has a fixed
    		// type.
    		switch b.value.(type) {
    		case string:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  3. cmd/sftp-server.go

    			MACs:         allowMACs,
    		},
    		PublicKeyAuthAlgorithms: allowPubKeys,
    		PasswordCallback: func(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) {
    			if globalIAMSys.LDAPConfig.Enabled() {
    				sa, _, err := globalIAMSys.getServiceAccount(context.Background(), c.User())
    				if err != nil && !errors.Is(err, errNoSuchServiceAccount) {
    					return nil, err
    				}
    				if errors.Is(err, errNoSuchServiceAccount) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		if d == globalDeploymentID() {
    			ourName = p.Name
    			break
    		}
    	}
    	if ourName == "" {
    		return errSRSelfNotFound
    	}
    
    	sa, _, err := globalIAMSys.GetServiceAccount(ctx, arg.SvcAcctAccessKey)
    	if err == errNoSuchServiceAccount {
    		sa, _, err = globalIAMSys.NewServiceAccount(ctx, arg.SvcAcctParent, nil, newServiceAccountOpts{
    			accessKey:                  arg.SvcAcctAccessKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/sts-handlers_test.go

                "ldapUser": "uid=svc.algorithm,ou=swengg,dc=min,dc=io",
                "ldapUsername": "svc.algorithm",
                "parent": "uid=svc.algorithm,ou=swengg,dc=min,dc=io",
                "sa-policy": "inherited-policy"
            },
            "sessionPolicy": null,
            "status": "on",
            "name": "",
            "description": ""
        }
    }
    `,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    				},
    				UpdatedAt: updatedAt,
    			}))
    
    			mcreds = credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken)
    		} else {
    			mcreds = credentials.NewStaticV4(sa.Credentials.AccessKey, sa.Credentials.SecretKey, "")
    		}
    
    		return minio.New(f.endpoint, &minio.Options{
    			Creds:     mcreds,
    			Secure:    globalIsTLS,
    			Transport: globalRemoteFTPClientTransport,
    		})
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    				},
    				UpdatedAt: updatedAt,
    			}))
    
    			mcreds = credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken)
    		} else {
    			mcreds = credentials.NewStaticV4(sa.Credentials.AccessKey, sa.Credentials.SecretKey, "")
    		}
    
    		return minio.New(driver.endpoint, &minio.Options{
    			Creds:     mcreds,
    			Secure:    globalIsTLS,
    			Transport: globalRemoteFTPClientTransport,
    		})
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    					Groups:        acc.Credentials.Groups,
    					Claims:        claims,
    					SessionPolicy: json.RawMessage(policyJSON),
    					Status:        acc.Credentials.Status,
    					Name:          sa.Name,
    					Description:   sa.Description,
    					Expiration:    &sa.Expiration,
    				}
    			}
    
    			svcAccData, err := json.Marshal(svcAccts)
    			if err != nil {
    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    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)
  9. internal/auth/credentials.go

    var (
    	DefaultCredentials = Credentials{
    		AccessKey: DefaultAccessKey,
    		SecretKey: DefaultSecretKey,
    	}
    )
    
    // claim key found in credentials which are service accounts
    const iamPolicyClaimNameSA = "sa-policy"
    
    const (
    	// AccountOn indicates that credentials are enabled
    	AccountOn = "on"
    	// AccountOff indicates that credentials are disabled
    	AccountOff = "off"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. cmd/utils.go

    	default:
    		return globalMinioModeFS
    	}
    }
    
    func iamPolicyClaimNameOpenID() string {
    	return globalIAMSys.OpenIDConfig.GetIAMPolicyClaimName()
    }
    
    func iamPolicyClaimNameSA() string {
    	return "sa-policy"
    }
    
    // On MinIO a directory object is stored as a regular object with "__XLDIR__" suffix.
    // For ex. "prefix/" is stored as "prefix__XLDIR__"
    func encodeDirObject(object string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top