- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GenerateCredentials (0.1 sec)
-
cmd/signature-v4-parser_test.go
return strings.Join([]string{ accessKey, date, region, service, requestVersion, }, SlashSeparator) } // generate CredentialHeader from its fields. func generateCredentials(t *testing.T, accessKey string, date string, region, service, requestVersion string) credentialHeader { cred := credentialHeader{ accessKey: accessKey, } parsedDate, err := time.Parse(yyyymmdd, date)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 27.4K bytes - Viewed (0) -
internal/auth/credentials.go
default: expAt, err = 0, ErrInvalidDuration } if expAt < 0 { return 0, ErrInvalidDuration } return expAt, err } // GenerateCredentials - creates randomly generated credentials of maximum // allowed length. func GenerateCredentials() (accessKey, secretKey string, err error) { accessKey, err = GenerateAccessKey(accessKeyMaxLen, rand.Reader) if err != nil { return "", "", err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
c.Fatalf("unable to delete svc acc: %v", err) } c.mustNotListObjects(ctx, svcClient, bucket) } func mustGenerateCredentials(c *check) (string, string) { c.Helper() ak, sk, err := auth.GenerateCredentials() if err != nil { c.Fatalf("unable to generate credentials: %v", err) } return ak, sk
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0)