interface Secret {
    envVar?: SecretEnvVar;
    file?: SecretFile;
    secretId: string;
    secretManagerId: string;
    secretManagerVersion: string;
}

Properties

envVar?: SecretEnvVar

Environment variable used to expose the secret.

One-of ('secretConfig'): at most one of 'file', 'envVar' could be set.

file?: SecretFile

File secret mounted inside the job.

One-of ('secretConfig'): at most one of 'file', 'envVar' could be set.

secretId: string

UUID of the secret reference within the job.

secretManagerId: string

UUID of the secret in Secret Manager.

secretManagerVersion: string

Version of the secret in Secret Manager.