Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for CreateKey (0.46 sec)

  1. internal/kms/key-manager.go

    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // KeyManager is the generic interface that handles KMS key operations
    type KeyManager interface {
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(ctx context.Context, keyID string) error
    
    	// DeleteKey deletes a key at the KMS with the given key ID.
    	// Please note that is a dangerous operation.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. internal/kms/kes.go

    	return c.client.APIs(ctx)
    }
    
    // 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 *kesClient) CreateKey(ctx context.Context, keyID string) error {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.CreateKey(ctx, keyID)
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorCache.java

        interface PluginDescriptorSupplier {
            PluginDescriptor load()
                    throws PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException;
        }
    
        Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session);
    
        void put(Key key, PluginDescriptor pluginDescriptor);
    
        PluginDescriptor get(Key key);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java

            public ExtensionDescriptor getDescriptor() {
                return descriptor;
            }
    
            public List<Artifact> getArtifacts() {
                return artifacts;
            }
        }
    
        Key createKey(List<Artifact> extensionArtifacts);
    
        CacheRecord get(Key key);
    
        CacheRecord put(
                Key key, ClassRealm extensionRealm, ExtensionDescriptor extensionDescriptor, List<Artifact> artifacts);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

            // marker interface for cache keys
        }
    
        @FunctionalInterface
        interface PluginRealmSupplier {
            CacheRecord load() throws PluginResolutionException, PluginContainerException;
        }
    
        Key createKey(
                Plugin plugin,
                ClassLoader parentRealm,
                Map<String, ClassLoader> foreignImports,
                DependencyFilter dependencyFilter,
                List<RemoteRepository> repositories,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            public String toString() {
                return extensionRealms.toString();
            }
        }
    
        protected final Map<Key, CacheRecord> cache = new ConcurrentHashMap<>();
    
        @Override
        public Key createKey(List<? extends ClassRealm> extensionRealms) {
            return new CacheKey(extensionRealms);
        }
    
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  7. internal/kms/kms.go

    	// List returns an array of local KMS Names
    	List() []kes.KeyInfo
    
    	// Metrics returns a KMS metric snapshot.
    	Metrics(ctx context.Context) (kes.Metric, error)
    
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(ctx context.Context, keyID string) error
    
    	// GenerateKey generates a new data encryption key using the
    	// key referenced by the key ID.
    	//
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

                        && Objects.equals(filter, that.filter);
            }
        }
    
        protected final Map<Key, CacheRecord> cache = new ConcurrentHashMap<>();
    
        public Key createKey(
                Plugin plugin,
                DependencyFilter extensionFilter,
                List<RemoteRepository> repositories,
                RepositorySystemSession session) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                throws PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException {
            PluginDescriptorCache.Key cacheKey = pluginDescriptorCache.createKey(plugin, repositories, session);
    
            PluginDescriptor pluginDescriptor = pluginDescriptorCache.get(cacheKey, () -> {
                org.eclipse.aether.artifact.Artifact artifact =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

            CacheRecord(ClassRealm realm, DependencyFilter extensionArtifactFilter) {
                this.realm = realm;
                this.extensionArtifactFilter = extensionArtifactFilter;
            }
        }
    
        Key createKey(List<? extends ClassRealm> extensionRealms);
    
        CacheRecord get(Key key);
    
        CacheRecord put(Key key, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter);
    
        void flush();
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top