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

ca.vanzyl.concord.k8s.Assumptions Maven / Gradle / Ivy

The newest version!
package ca.vanzyl.concord.k8s;

import java.util.UUID;

/**
 * Keeping track of assumptions we make for the initial version.
 */
public final class Assumptions {

  /**
   * ID of a user which is used for server-side operations (org creation, secret access, etc).
   */
  public static final UUID SERVER_USER_ID = UUID.fromString("230c5c9c-d9a7-11e6-bcfd-bb681c07b26c");

  /**
   * ID of the default organization. The default organization is used to store common entities such as the default set of credentials.
   */
  public static final UUID DEFAULT_ORG_ID = UUID.fromString("0fac1b18-d179-11e7-b3e7-d7df4543ed4f");

  /**
   * Name of the default organization.
   */
  public static final String DEFAULT_ORG_NAME = "Default";

  /**
   * Name prefix of the default set of credentials.
   */
  public static final String DEFAULT_ORG_SECRET_REF = "default";

  /**
   * Name suffix for secrets containing AWS access keys.
   */
  public static final String AWS_ACCESS_KEY_SUFFIX = "awsAccessKey";

  /**
   * Name suffix for secrets containing AWS secret keys.
   */
  public static final String AWS_SECRET_KEY_SUFFIX = "awsSecretKey";

  /**
   * Name suffix for secrets containing AWS session token.
   */
  public static final String AWS_SESSION_TOKEN_SUFFIX = "awsSessionToken";

  /**
   * Name of the access key secret of the default set of credentials.
   */
  public static final String DEFAULT_ORG_AWS_ACCESS_KEY_NAME = DEFAULT_ORG_SECRET_REF + "-" + AWS_ACCESS_KEY_SUFFIX;

  /**
   * Name of the secret key secret of the default set of credentials.
   */
  public static final String DEFAULT_ORG_AWS_SECRET_KEY_NAME = DEFAULT_ORG_SECRET_REF + "-" + AWS_SECRET_KEY_SUFFIX;

  private Assumptions() {
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy