AccessSecretVersionByNameRequest: {
    projectId?: string;
    region?: Region;
    revision: string;
    secretName: string;
}

Type declaration

  • OptionalprojectId?: string

    (Optional.) If not specified, Secret Manager will look for the secret version in all Projects.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • revision: string

    The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:

    • A number (the revision number)
    • "latest" (the latest revision)
    • "latest_enabled" (the latest enabled revision).
  • secretName: string

    Name of the secret.