Package namespace.cloud.compute.v1beta
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 Summary
Modifier and TypeMethodDescriptiongetBasic()A pair of username and password to use when pulling images.A pair of username and password to use when pulling images.Namespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html).Namespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html).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 will federate with Google Cloud Workload Identity Federation to obtain a short-lived access token usable with Google Artifact Registry (or Container Registry).Instruct Namespace to generate an OIDC token to access the registry.Instruct Namespace to generate an OIDC token to access the registry.booleanhasBasic()A pair of username and password to use when pulling images.booleanNamespace will federate with AWS to obtain an [ECR authorization token](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html).booleanNamespace will federate with Google Cloud Workload Identity Federation to obtain a short-lived access token usable with Google Artifact Registry (or Container Registry).booleanInstruct Namespace to generate an OIDC token to access the registry.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
Compute.AdditionalRegistry.Authenticator.BasicOrBuilder 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
Compute.AdditionalRegistry.Authenticator.OpenIDFederationOrBuilder 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
Compute.AdditionalRegistry.Authenticator.AssumeRoleFromAwsFederation 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
Compute.AdditionalRegistry.Authenticator.AssumeRoleFromAwsFederationOrBuilder 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
Compute.AdditionalRegistry.Authenticator.GcpWorkloadIdentityFederation 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
Compute.AdditionalRegistry.Authenticator.GcpWorkloadIdentityFederationOrBuilder 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;
-