pub struct AssociateIdentityProviderConfig<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateIdentityProviderConfig
.
Associate an identity provider configuration to a cluster.
If you want to authenticate identities using an identity provider, you can create an identity provider configuration and associate it to your cluster. After configuring authentication to your cluster you can create Kubernetes roles
and clusterroles
to assign permissions to the roles, and then bind the roles to the identities using Kubernetes rolebindings
and clusterrolebindings
. For more information see Using RBAC Authorization in the Kubernetes documentation.
Implementations
impl<C, M, R> AssociateIdentityProviderConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateIdentityProviderConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateIdentityProviderConfigOutput, SdkError<AssociateIdentityProviderConfigError>> where
R::Policy: SmithyRetryPolicy<AssociateIdentityProviderConfigInputOperationOutputAlias, AssociateIdentityProviderConfigOutput, AssociateIdentityProviderConfigError, AssociateIdentityProviderConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateIdentityProviderConfigOutput, SdkError<AssociateIdentityProviderConfigError>> where
R::Policy: SmithyRetryPolicy<AssociateIdentityProviderConfigInputOperationOutputAlias, AssociateIdentityProviderConfigOutput, AssociateIdentityProviderConfigError, AssociateIdentityProviderConfigInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the cluster to associate the configuration to.
The name of the cluster to associate the configuration to.
An object that represents an OpenID Connect (OIDC) identity provider configuration.
An object that represents an OpenID Connect (OIDC) identity provider configuration.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The metadata to apply to the configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.
The metadata to apply to the configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AssociateIdentityProviderConfig<C, M, R>
impl<C, M, R> Send for AssociateIdentityProviderConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateIdentityProviderConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateIdentityProviderConfig<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AssociateIdentityProviderConfig<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more