@kubernetes-models/flux-cd
Version:
30 lines (29 loc) • 1.2 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* OIDCIdentityMatch specifies options for verifying the certificate identity,
* i.e. the issuer and the subject of the certificate.
*/
export interface IOIDCIdentityMatch {
/**
* Issuer specifies the regex pattern to match against to verify
* the OIDC issuer in the Fulcio certificate. The pattern must be a
* valid Go regular expression.
*/
"issuer": string;
/**
* Subject specifies the regex pattern to match against to verify
* the identity subject in the Fulcio certificate. The pattern must
* be a valid Go regular expression.
*/
"subject": string;
}
/**
* OIDCIdentityMatch specifies options for verifying the certificate identity,
* i.e. the issuer and the subject of the certificate.
*/
export declare class OIDCIdentityMatch extends Model<IOIDCIdentityMatch> implements IOIDCIdentityMatch {
"issuer": string;
"subject": string;
constructor(data?: ModelData<IOIDCIdentityMatch>);
}
export type { IOIDCIdentityMatch as IComGithubFluxcdSourceControllerApiV1OIDCIdentityMatch, OIDCIdentityMatch as ComGithubFluxcdSourceControllerApiV1OIDCIdentityMatch };