UNPKG

cdktf-crd

Version:
67 lines (66 loc) 3.2 kB
import { Construct } from "constructs"; import { Manifest, type ManifestConfig } from "@cdktn/provider-kubernetes/lib/manifest"; export declare class GeneratorsExternalSecretsIoGCRAccessTokenV1alpha1 extends Manifest { constructor(scope: Construct, id: string, config: GeneratorsExternalSecretsIoGCRAccessTokenV1alpha1Config); } export interface GeneratorsExternalSecretsIoGCRAccessTokenV1alpha1Config extends ManifestConfig { manifest: { apiVersion: "generators.external-secrets.io/v1alpha1"; kind: "GCRAccessToken"; metadata: { annotations?: { [key: string]: string; }; labels?: { [key: string]: string; }; name: string; namespace?: string; }; spec?: { /** @description Auth defines the means for authenticating with GCP */ auth: { secretRef?: { /** @description The SecretAccessKey is used for authentication */ secretAccessKeySecretRef?: { /** * @description A key in the referenced Secret. * Some instances of this field may be defaulted, in others it may be required. */ key?: string; /** @description The name of the Secret resource being referred to. */ name?: string; /** * @description The namespace of the Secret resource being referred to. * Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent. */ namespace?: string; }; }; workloadIdentity?: { clusterLocation: string; clusterName: string; clusterProjectID?: string; /** @description A reference to a ServiceAccount resource. */ serviceAccountRef: { /** * @description Audience specifies the `aud` claim for the service account token * If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity * then this audiences will be appended to the list */ audiences?: string[]; /** @description The name of the ServiceAccount resource being referred to. */ name: string; /** * @description Namespace of the resource being referred to. * Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent. */ namespace?: string; }; }; }; /** @description ProjectID defines which project to use to authenticate with */ projectID: string; }; }; }