cdktf-crd
Version:
52 lines (51 loc) • 2.49 kB
TypeScript
import { Manifest, type ManifestConfig } from "@cdktf/provider-kubernetes/lib/manifest";
import { Construct } from "constructs";
export declare class GeneratorsExternalSecretsIoGithubAccessTokenV1alpha1 extends Manifest {
constructor(scope: Construct, id: string, config: GeneratorsExternalSecretsIoGithubAccessTokenV1alpha1Config);
}
export interface GeneratorsExternalSecretsIoGithubAccessTokenV1alpha1Config extends ManifestConfig {
manifest: {
apiVersion: "generators.external-secrets.io/v1alpha1";
kind: "GithubAccessToken";
metadata: {
annotations?: {
[key: string]: string;
};
labels?: {
[key: string]: string;
};
name: string;
namespace?: string;
};
spec?: {
appID: string;
/** @description Auth configures how ESO authenticates with a Github instance. */
auth: {
privateKey: {
/** @description A reference to a specific 'key' within a Secret resource.
* In some instances, `key` is a required field. */
secretRef: {
/** @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;
};
};
};
installID: string;
/** @description Map of permissions the token will have. If omitted, defaults to all permissions the GitHub App has. */
permissions?: {
[key: string]: string;
};
/** @description List of repositories the token will have access to. If omitted, defaults to all repositories the GitHub App
* is installed to. */
repositories?: string[];
/** @description URL configures the Github instance URL. Defaults to https://github.com/. */
url?: string;
};
};
}