- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 303 for accessKey (0.27 sec)
-
cmd/admin-handlers-users_test.go
// 2. Check that svc account info can be queried c.assertSvcAccInfoQueryable(ctx, userAdmClient, accessKey, cr.AccessKey, false) // 3. Check S3 access c.assertSvcAccS3Access(ctx, s, cr, bucket) // 5. Check that service account can be deleted. c.assertSvcAccDeletion(ctx, s, userAdmClient, accessKey, bucket)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 12 16:36:16 GMT 2024 - 45.7K bytes - Viewed (0) -
helm/minio/templates/_helper_create_svcacct.txt
{{- range $idx, $svc := .Values.svcaccts }} echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP {{- if .existingSecret }} cat /config/secrets-svc/{{ tpl .existingSecret $global }}/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP # Add a new line if it doesn't exist echo >> $MINIO_ACCESSKEY_SECRETKEY_TMP {{ else }} echo {{ .secretKey }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP {{- end }} {{- if $svc.policy}}
Plain Text - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Mar 28 23:20:50 GMT 2024 - 3.4K bytes - Viewed (0) -
cmd/post-policy_test.go
} // Test cases for signature-V2. testCasesV2 := []struct { expectedStatus int accessKey string secretKey string }{ {http.StatusForbidden, "invalidaccesskey", credentials.SecretKey}, {http.StatusForbidden, credentials.AccessKey, "invalidsecretkey"}, {http.StatusNoContent, credentials.AccessKey, credentials.SecretKey}, } for i, test := range testCasesV2 {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 19 16:45:54 GMT 2024 - 29.6K bytes - Viewed (0) -
internal/jwt/parser.go
} // SetAccessKey sets access key as jwt subject and custom // "accessKey" field. func (c *StandardClaims) SetAccessKey(accessKey string) { c.Subject = accessKey c.AccessKey = accessKey } // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible // claims interface, additionally validates "accessKey" fields. func (c *StandardClaims) Valid() error {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue May 09 07:53:08 GMT 2023 - 13.9K bytes - Viewed (0) -
cmd/server_test.go
} else { s.testServer = StartTestServer(c, s.serverType) } s.client = s.testServer.Server.Client() s.endPoint = s.testServer.Server.URL s.accessKey = s.testServer.AccessKey s.secretKey = s.testServer.SecretKey } func (s *TestSuiteCommon) RestartTestServer(c *check) { // Shutdown. s.testServer.cancel() s.testServer.Server.Close()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
cmd/jwt.go
func newCachedAuthToken() func(audience string) string { fn := func(accessKey, secretKey, audience string) (s string, err error) { k := cacheKey{accessKey: accessKey, secretKey: secretKey, audience: audience} var ok bool s, ok = cacheLRU.Get(k) if !ok { s, err = authenticateNode(accessKey, secretKey, audience) if err != nil { return "", err } cacheLRU.Add(k, s) }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 19 16:45:14 GMT 2024 - 5.4K bytes - Viewed (0) -
internal/auth/credentials.go
// Error is returned if given access key or secret key are invalid length. func CreateCredentials(accessKey, secretKey string) (cred Credentials, err error) { if !IsAccessKeyValid(accessKey) { return cred, ErrInvalidAccessKeyLength } if !IsSecretKeyValid(secretKey) { return cred, ErrInvalidSecretKeyLength } cred.AccessKey = accessKey cred.SecretKey = secretKey cred.Expiration = timeSentinel cred.Status = AccountOn
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 11.4K bytes - Viewed (0) -
helm/minio/templates/_helper_create_user.txt
{{- range .Values.users }} echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP {{- if .existingSecret }} cat /config/secrets/{{ tpl .existingSecret $global }}/{{ tpl .existingSecretKey $global }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP # Add a new line if it doesn't exist echo >> $MINIO_ACCESSKEY_SECRETKEY_TMP createUser {{ .policy }} {{ else }} echo {{ .secretKey }} >> $MINIO_ACCESSKEY_SECRETKEY_TMP createUser {{ .policy }}
Plain Text - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Dec 12 23:43:32 GMT 2023 - 3.2K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
bucketName string accessKey string secretKey string // expected Response. expectedRespStatus int locationResponse []byte errorResponse APIErrorResponse shouldPass bool }{ // Test case - 1. // Tests for authenticated request and proper response. { bucketName: bucketName, accessKey: credentials.AccessKey, secretKey: credentials.SecretKey,
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 39.5K bytes - Viewed (2) -
cmd/iam-store.go
_ = store.deleteUserIdentity(ctx, u.AccessKey, svcUser) delete(cache.iamUsersMap, u.AccessKey) case u.IsTemp(): _ = store.deleteUserIdentity(ctx, u.AccessKey, stsUser) delete(cache.iamUsersMap, u.AccessKey) } } } } // It is ok to ignore deletion error on the mapped policy store.deleteMappedPolicy(ctx, accessKey, userType, false)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 74.4K bytes - Viewed (2)