import { IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1ACRAuth } from "./ACRAuth.js"; import { IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1AzureEnvironmentType } from "../../external-secrets.io/v1/AzureEnvironmentType.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ACRAccessTokenSpec defines how to generate the access token * e.g. how to authenticate and which registry to use. * see: https://github.com/Azure/acr/blob/main/docs/AAD-OAuth.md#overview */ export interface IACRAccessTokenSpec { "auth": IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1ACRAuth; /** * EnvironmentType specifies the Azure cloud environment endpoints to use for * connecting and authenticating with Azure. By default it points to the public cloud AAD endpoint. * The following endpoints are available, also see here: https://github.com/Azure/go-autorest/blob/main/autorest/azure/environments.go#L152 * PublicCloud, USGovernmentCloud, ChinaCloud, GermanCloud */ "environmentType"?: IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1AzureEnvironmentType; /** * the domain name of the ACR registry * e.g. foobarexample.azurecr.io */ "registry": string; /** * Define the scope for the access token, e.g. pull/push access for a repository. * if not provided it will return a refresh token that has full scope. * Note: you need to pin it down to the repository level, there is no wildcard available. * * examples: * repository:my-repository:pull,push * repository:my-repository:pull * * see docs for details: https://docs.docker.com/registry/spec/auth/scope/ */ "scope"?: string; /** * TenantID configures the Azure Tenant to send requests to. Required for ServicePrincipal auth type. */ "tenantId"?: string; } /** * ACRAccessTokenSpec defines how to generate the access token * e.g. how to authenticate and which registry to use. * see: https://github.com/Azure/acr/blob/main/docs/AAD-OAuth.md#overview */ export declare class ACRAccessTokenSpec extends Model implements IACRAccessTokenSpec { "auth": IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1ACRAuth; "environmentType"?: IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1AzureEnvironmentType; "registry": string; "scope"?: string; "tenantId"?: string; constructor(data?: ModelData); } export type { IACRAccessTokenSpec as IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1ACRAccessTokenSpec, ACRAccessTokenSpec as ComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1ACRAccessTokenSpec };