- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 54 for Creds (0.04 sec)
-
cmd/admin-handlers.go
ctx, cancel := context.WithCancel(r.Context()) defer cancel() objectAPI, creds := validateAdminReq(ctx, w, r, policy.HealthInfoAdminAction) if objectAPI == nil { return } if !globalAPIConfig.permitRootAccess() { rd, wr := isAllowedRWAccess(r, creds, globalObjectPerfBucket) if !rd || !wr { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, AdminError{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
if err != nil { return nil, err } if insecure { // skip TLS verification transport.TLSClientConfig.InsecureSkipVerify = true } clnt, err := minio.New(u.Host, &minio.Options{ Creds: credentials.NewStaticV4(accessKey, secretKey, ""), Secure: secure, Transport: transport, }) if err != nil { return nil, err } return clnt, nil } func main() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 22 15:12:47 UTC 2022 - 8.4K bytes - Viewed (0) -
docs/lambda/README.md
"net/url" "time" "fmt" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("localhost:9000", &minio.Options{ Creds: credentials.NewStaticV4("minioadmin", "minioadmin", ""), Secure: false, }) if err != nil { log.Fatalln(err) } // Set lambda function target via `lambdaArn` reqParams := make(url.Values)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Apr 04 19:15:28 UTC 2023 - 7.6K bytes - Viewed (0) -
cmd/sftp-server-driver.go
f.permissions.CriticalOptions["AccessKey"], f.permissions.CriticalOptions["SecretKey"], f.permissions.CriticalOptions["SessionToken"], ) return minio.New(f.endpoint, &minio.Options{ Creds: mcreds, Secure: globalIsTLS, Transport: globalRemoteFTPClientTransport, }) } func (f *sftpDriver) AccessKey() string { return f.permissions.CriticalOptions["AccessKey"] }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/iam.go
func (sys *IAMSys) updateGroupMembershipsForLDAP(ctx context.Context) { // 1. Collect all LDAP users with active creds. allCreds := sys.store.GetSTSAndServiceAccounts() // List of unique LDAP (parent) user DNs that have active creds var parentUserActualDNList []string // Map of LDAP user (internal representation) to list of active credential objects
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/server-main.go
region := globalSite.Region() if region == "" { region = "us-east-1" } bootstrapTrace("globalMinioClient", func() { globalMinioClient, err = minio.New(globalLocalNodeName, &minio.Options{ Creds: credentials.NewStaticV4(globalActiveCred.AccessKey, globalActiveCred.SecretKey, ""), Secure: globalIsTLS, Transport: globalRemoteTargetTransport, Region: region, })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (1) -
cmd/auth-handler.go
nsecret, err := getTokenSigningKey() if err != nil { return nil, toAPIErrorCode(r.Context(), err) } // sign root's temporary accounts also with site replicator creds if cred.ParentUser != globalActiveCred.AccessKey || cred.IsTemp() { secret = nsecret } } if cred.IsServiceAccount() { token = cred.SessionToken secret = cred.SecretKey }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/peer-rest-client.go
values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256)) values.Set(peerRESTEnableMultipart, strconv.FormatBool(opts.enableMultipart)) values.Set(peerRESTAccessKey, opts.creds.AccessKey) respBody, err := client.callWithContext(context.Background(), peerRESTMethodSpeedTest, values, nil, -1) if err != nil { return SpeedTestResult{}, err } defer xhttp.DrainBody(respBody)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
switch op { case madmin.CredentialsUpdateType: if !globalSiteReplicationSys.isEnabled() { // credentials update is possible only in bucket replication. User will never // know the site replicator creds. tgt.Credentials = target.Credentials tgt.TargetBucket = target.TargetBucket tgt.Secure = target.Secure tgt.Endpoint = target.Endpoint } case madmin.SyncUpdateType:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 33.2K bytes - Viewed (0) -
cmd/utils.go
// if err != nil { // return "", fmt.Errorf("Error reading body: %v", err) // } // fmt.Printf("bodyBuf (for LDAP login page): %s\n", string(bodyBuf)) // } // Fill the login form with our test creds: // fmt.Printf("login form url: %s\n", lastReq.URL.String()) formData := url.Values{} formData.Set("login", username) formData.Set("password", password)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0)