Class: Google::Cloud::GkeHub::V1::Authority

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1/membership.rb

Overview

Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity

Instance Attribute Summary collapse

Instance Attribute Details

#identity_provider::String (readonly)

Returns Output only. An identity provider that reflects the issuer in the workload identity pool.

Returns:

  • (::String)

    Output only. An identity provider that reflects the issuer in the workload identity pool.



358
359
360
361
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 358

class Authority
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#issuer::String

Returns Optional. A JSON Web Token (JWT) issuer URI. issuer must start with https:// and be a valid URL with length <2000 characters.

If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer.

Clearing issuer disables Workload Identity. issuer cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).

Returns:

  • (::String)

    Optional. A JSON Web Token (JWT) issuer URI. issuer must start with https:// and be a valid URL with length <2000 characters.

    If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer.

    Clearing issuer disables Workload Identity. issuer cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).



358
359
360
361
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 358

class Authority
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#oidc_jwks::String

Returns Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517).

When this field is set, OIDC discovery will NOT be performed on issuer, and instead OIDC tokens will be validated using this field.

Returns:

  • (::String)

    Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517).

    When this field is set, OIDC discovery will NOT be performed on issuer, and instead OIDC tokens will be validated using this field.



358
359
360
361
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 358

class Authority
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#workload_identity_pool::String (readonly)

Returns Output only. The name of the workload identity pool in which issuer will be recognized.

There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is {PROJECT_ID}.hub.id.goog, although this is subject to change in newer versions of this API.

Returns:

  • (::String)

    Output only. The name of the workload identity pool in which issuer will be recognized.

    There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is {PROJECT_ID}.hub.id.goog, although this is subject to change in newer versions of this API.



358
359
360
361
# File 'proto_docs/google/cloud/gkehub/v1/membership.rb', line 358

class Authority
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end