All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.schema.security.secrets.SecretsManagerProvider Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version

package org.openmetadata.schema.security.secrets;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;


/**
 * Secrets Manager Provider
 * 

* OpenMetadata Secrets Manager Provider. Make sure to configure the same secrets manager providers as the ones configured on the OpenMetadata server. * */ @Generated("jsonschema2pojo") public enum SecretsManagerProvider { DB("db"), MANAGED_AWS("managed-aws"), AWS("aws"), MANAGED_AWS_SSM("managed-aws-ssm"), AWS_SSM("aws-ssm"), MANAGED_AZURE_KV("managed-azure-kv"), AZURE_KV("azure-kv"), IN_MEMORY("in-memory"), GCP("gcp"); private final String value; private final static Map CONSTANTS = new HashMap(); static { for (SecretsManagerProvider c: values()) { CONSTANTS.put(c.value, c); } } SecretsManagerProvider(String value) { this.value = value; } @Override public String toString() { return this.value; } @JsonValue public String value() { return this.value; } @JsonCreator public static SecretsManagerProvider fromValue(String value) { SecretsManagerProvider constant = CONSTANTS.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy