Interface Compute.AdditionalRegistry.AuthenticatorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Compute.AdditionalRegistry.Authenticator, Compute.AdditionalRegistry.Authenticator.Builder
Enclosing class:
Compute.AdditionalRegistry

public static interface Compute.AdditionalRegistry.AuthenticatorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasBasic

      boolean hasBasic()
       A pair of username and password to use when pulling images.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.Basic basic = 1;
      Returns:
      Whether the basic field is set.
    • getBasic

       A pair of username and password to use when pulling images.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.Basic basic = 1;
      Returns:
      The basic.
    • getBasicOrBuilder

       A pair of username and password to use when pulling images.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.Basic basic = 1;
    • hasOpenid

      boolean hasOpenid()
       Instruct Namespace to generate an OIDC token to access the registry.
       The generated access token will be signed by the issuer `https://federation.namespaceapis.com`.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.OpenIDFederation openid = 2;
      Returns:
      Whether the openid field is set.
    • getOpenid

       Instruct Namespace to generate an OIDC token to access the registry.
       The generated access token will be signed by the issuer `https://federation.namespaceapis.com`.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.OpenIDFederation openid = 2;
      Returns:
      The openid.
    • getOpenidOrBuilder

       Instruct Namespace to generate an OIDC token to access the registry.
       The generated access token will be signed by the issuer `https://federation.namespaceapis.com`.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.OpenIDFederation openid = 2;
    • hasEcrTokenFromAwsFederation

      boolean hasEcrTokenFromAwsFederation()
       Namespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html).
       Make sure to grant the required `ecr:*` permissions to the federated IAM role.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.AssumeRoleFromAwsFederation ecr_token_from_aws_federation = 3;
      Returns:
      Whether the ecrTokenFromAwsFederation field is set.
    • getEcrTokenFromAwsFederation

       Namespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html).
       Make sure to grant the required `ecr:*` permissions to the federated IAM role.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.AssumeRoleFromAwsFederation ecr_token_from_aws_federation = 3;
      Returns:
      The ecrTokenFromAwsFederation.
    • getEcrTokenFromAwsFederationOrBuilder

       Namespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html).
       Make sure to grant the required `ecr:*` permissions to the federated IAM role.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.AssumeRoleFromAwsFederation ecr_token_from_aws_federation = 3;
    • hasGcpWorkloadIdentityFederation

      boolean hasGcpWorkloadIdentityFederation()
       Namespace will federate with Google Cloud Workload Identity Federation to
       obtain a short-lived access token usable with Google Artifact Registry (or
       Container Registry). Namespace performs the STS token-exchange and, if
       requested, service account impersonation server-side.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.GcpWorkloadIdentityFederation gcp_workload_identity_federation = 4;
      Returns:
      Whether the gcpWorkloadIdentityFederation field is set.
    • getGcpWorkloadIdentityFederation

       Namespace will federate with Google Cloud Workload Identity Federation to
       obtain a short-lived access token usable with Google Artifact Registry (or
       Container Registry). Namespace performs the STS token-exchange and, if
       requested, service account impersonation server-side.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.GcpWorkloadIdentityFederation gcp_workload_identity_federation = 4;
      Returns:
      The gcpWorkloadIdentityFederation.
    • getGcpWorkloadIdentityFederationOrBuilder

       Namespace will federate with Google Cloud Workload Identity Federation to
       obtain a short-lived access token usable with Google Artifact Registry (or
       Container Registry). Namespace performs the STS token-exchange and, if
       requested, service account impersonation server-side.
       
      .namespace.cloud.compute.v1beta.AdditionalRegistry.Authenticator.GcpWorkloadIdentityFederation gcp_workload_identity_federation = 4;