- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 210 for secretkey (0.1 sec)
-
cmd/bucket-policy-handlers_test.go
secretKey: credentials.SecretKey, expectedBucketPolicy: bucketPolicyTemplate, expectedRespStatus: http.StatusNotFound, }, // Test case - 3. // Case with non-existent bucket name. { bucketName: ".invalid-bucket-name", accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedBucketPolicy: "",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 32.9K bytes - Viewed (0) -
cmd/sts-handlers.go
func getTokenSigningKey() (string, error) { secret := globalActiveCred.SecretKey if globalSiteReplicationSys.isEnabled() { secretKey, err := globalSiteReplicatorCred.Get(GlobalContext) if err != nil { return "", err } return secretKey, nil } return secret, nil } // AssumeRole - implementation of AWS STS API AssumeRole to get temporary
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 01:29:20 UTC 2024 - 33.9K bytes - Viewed (0) -
cmd/admin-handlers-idp-ldap.go
Credentials: madmin.Credentials{ AccessKey: newCred.AccessKey, SecretKey: newCred.SecretKey, Expiration: newCred.Expiration, }, } data, err := json.Marshal(createResp) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } encryptedData, err := madmin.EncryptData(cred.SecretKey, data) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 11:35:40 UTC 2024 - 19.1K bytes - Viewed (0) -
cmd/batch-replicate_test.go
# # path: "on|off|auto" # "on" enables path-style bucket lookup. "off" enables virtual host (DNS)-style bucket lookup. Defaults to "auto" # credentials: # accessKey: minioadmin # Required # secretKey: minioadmin # Required # # sessionToken: SESSION-TOKEN # Optional only available when rotating credentials are used snowball: # automatically activated if the source is local
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/jwt_test.go
xjwt "github.com/minio/minio/internal/jwt" ) func getTokenString(accessKey, secretKey string) (string, error) { claims := xjwt.NewMapClaims() claims.SetExpiry(UTCNow().Add(defaultJWTExpiry)) claims.SetAccessKey(accessKey) token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims) return token.SignedString([]byte(secretKey)) } // Tests web request authenticator. func TestWebRequestAuthenticate(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/batch-replicate_gen.go
case "AccessKey": z.AccessKey, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "AccessKey") return } case "SecretKey": z.SecretKey, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SecretKey") return } case "SessionToken": z.SessionToken, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SessionToken") return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 40.7K bytes - Viewed (0) -
cmd/batch-replicate.go
SecretKey string `xml:"SecretAccessKey" json:"secretKey,omitempty" yaml:"secretKey"` SessionToken string `xml:"SessionToken" json:"sessionToken,omitempty" yaml:"sessionToken"` } // Empty indicates if credentials are not set func (c BatchJobReplicateCredentials) Empty() bool { return c.AccessKey == "" && c.SecretKey == "" && c.SessionToken == "" }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/config-encrypted_test.go
"github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" ) func TestDecryptData(t *testing.T) { cred1 := auth.Credentials{ AccessKey: "minio", SecretKey: "minio123", } cred2 := auth.Credentials{ AccessKey: "minio", SecretKey: "minio1234", } data := []byte(`config data`) edata1, err := madmin.EncryptData(cred1.String(), data) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K bytes - Viewed (0) -
cmd/sftp-server.go
STSCredential: &madmin.SRSTSCredential{ AccessKey: cred.AccessKey, SecretKey: cred.SecretKey, SessionToken: cred.SessionToken, ParentUser: cred.ParentUser, }, UpdatedAt: updatedAt, })) return &ssh.Permissions{ CriticalOptions: map[string]string{ "AccessKey": cred.AccessKey, "SecretKey": cred.SecretKey, "SessionToken": cred.SessionToken, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
if err != nil { c.Fatalf("policy add error: %v", err) } userCount := 50 accessKeys := make([]string, userCount) secretKeys := make([]string, userCount) for i := 0; i < userCount; i++ { accessKey, secretKey := mustGenerateCredentials(c) err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 4K bytes - Viewed (0)