- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 367 for createKey (0.06 seconds)
-
internal/kms/kes.go
} return keyInfos, continueAt, nil } // CreateKey tries to create a new key at the KMS with the // given key ID. // // If the a key with the same keyID already exists then // CreateKey returns kes.ErrKeyExists. func (c *kesConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error { if err := c.client.CreateKey(ctx, req.Name); err != nil { if errors.Is(err, kes.ErrKeyExists) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 7.3K bytes - Click Count (0) -
internal/kms/stub.go
if wildcard.MatchAsPatternPrefix(req.Prefix, keyName) { matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy}) } } return matches, "", nil } // CreateKey creates a new key with the given name. func (s *StubKMS) CreateKey(_ context.Context, req *CreateKeyRequest) error { if s.containsKeyName(req.Name) { return ErrKeyExists }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 3.6K bytes - Click Count (0) -
internal/kms/kms.go
for i, v := range resp.Items { keyInfos[i].Name = v.Name keyInfos[i].CreatedAt = v.CreatedAt keyInfos[i].CreatedBy = v.CreatedBy.String() } return keyInfos, resp.ContinueAt, nil } func (c *kmsConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error { if err := c.client.CreateKey(ctx, c.enclave, &kms.CreateKeyRequest{ Name: req.Name, }); err != nil { if errors.Is(err, kms.ErrKeyExists) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 24 15:33:57 GMT 2025 - 11.4K bytes - Click Count (0) -
internal/kms/secret-key.go
return []madmin.KMSKeyInfo{{Name: s.keyID}}, "", nil } return []madmin.KMSKeyInfo{}, "", nil } // CreateKey returns ErrKeyExists unless req.Name is equal to the secretKey name. // The builtin KMS does not support creating multiple keys. func (s secretKey) CreateKey(_ context.Context, req *CreateKeyRequest) error { if req.Name != s.keyID { return ErrNotSupported } return ErrKeyExists }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
internal/kms/conn.go
APIs(context.Context) ([]madmin.KMSAPI, error) // Stat returns the current KMS status. Status(context.Context) (map[string]madmin.ItemState, error) // CreateKey creates a new key at the KMS with the given key ID. CreateKey(context.Context, *CreateKeyRequest) error ListKeys(context.Context, *ListRequest) ([]madmin.KMSKeyInfo, string, error) // GenerateKey generates a new data encryption key using the
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 5K bytes - Click Count (0) -
cmd/kms-handlers.go
return } if !checkKMSActionAllowed(r, owner, cred, policy.KMSCreateKeyAction, keyID) { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL) return } if err := GlobalKMS.CreateKey(ctx, &kms.CreateKeyRequest{Name: keyID}); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } writeSuccessResponseHeadersOnly(w) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 10.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
boolean aggregating, Set<Artifact> projectArtifacts) throws LifecycleExecutionException { ProjectArtifactsCache.Key cacheKey = projectArtifactsCache.createKey( project, scopesToCollect, scopesToResolve, aggregating, session.getRepositorySession()); ProjectArtifactsCache.CacheRecord recordArtifacts;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/common-main.go
}) if err != nil { logger.Fatal(err, "Failed to connect to KMS") } if _, err = KMS.GenerateKey(GlobalContext, &kms.GenerateKeyRequest{}); errors.Is(err, kms.ErrKeyNotFound) { err = KMS.CreateKey(GlobalContext, &kms.CreateKeyRequest{Name: KMS.DefaultKey}) } if err != nil && !errors.Is(err, kms.ErrKeyExists) && !errors.Is(err, kms.ErrPermission) { logger.Fatal(err, "Failed to connect to KMS") }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.5K bytes - Click Count (3) -
cmd/admin-handlers.go
if objectAPI == nil { return } if GlobalKMS == nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL) return } if err := GlobalKMS.CreateKey(ctx, &kms.CreateKeyRequest{ Name: r.Form.Get("key-id"), }); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } writeSuccessResponseHeadersOnly(w) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/badword/admin_badword_details.jsp
<la:hidden property="id"/> <la:hidden property="versionNo"/> </c:if> <la:hidden property="createdBy"/> <la:hidden property="createdTime"/> <div class="row"> <div class="col-md-12"> <div
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 7K bytes - Click Count (0)