- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsSecretKeyValid (0.14 sec)
-
cmd/iam.go
return updatedAt, auth.ErrInvalidAccessKeyLength } if auth.ContainsReservedChars(accessKey) { return updatedAt, auth.ErrContainsReservedChars } if !auth.IsSecretKeyValid(ureq.SecretKey) { return updatedAt, auth.ErrInvalidSecretKeyLength } updatedAt, err = sys.store.AddUser(ctx, accessKey, ureq) if err != nil { return updatedAt, err }
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/iam-store.go
if !ok || !ui.Credentials.IsServiceAccount() { return updatedAt, errNoSuchServiceAccount } cr := ui.Credentials currentSecretKey := cr.SecretKey if opts.secretKey != "" { if !auth.IsSecretKeyValid(opts.secretKey) { return updatedAt, auth.ErrInvalidSecretKeyLength } cr.SecretKey = opts.secretKey } if opts.name != "" { cr.Name = opts.name }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0)