Struct aws_sdk_iam::client::fluent_builders::UpdateOpenIDConnectProviderThumbprint [−][src]
pub struct UpdateOpenIDConnectProviderThumbprint<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateOpenIDConnectProviderThumbprint
.
Replaces the existing list of server certificate thumbprints associated with an OpenID Connect (OIDC) provider resource object with a new list of thumbprints.
The list that you pass with this operation completely replaces the existing list of thumbprints. (The lists are not merged.)
Typically, you need to update a thumbprint only when the identity provider certificate changes, which occurs rarely. However, if the provider's certificate does change, any attempt to assume an IAM role that specifies the OIDC provider as a principal fails until the certificate thumbprint is updated.
Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our library of trusted certificate authorities (CAs) instead of using a certificate thumbprint to verify your IdP server certificate. These OIDC IdPs include Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In these cases, your legacy thumbprint remains in your configuration, but is no longer used for validation.
Trust for the OIDC provider is derived from the provider certificate and is
validated by the thumbprint. Therefore, it is best to limit access to the
UpdateOpenIDConnectProviderThumbprint
operation to highly
privileged users.
Implementations
impl<C, M, R> UpdateOpenIDConnectProviderThumbprint<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateOpenIDConnectProviderThumbprint<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateOpenIdConnectProviderThumbprintOutput, SdkError<UpdateOpenIDConnectProviderThumbprintError>> where
R::Policy: SmithyRetryPolicy<UpdateOpenIdConnectProviderThumbprintInputOperationOutputAlias, UpdateOpenIdConnectProviderThumbprintOutput, UpdateOpenIDConnectProviderThumbprintError, UpdateOpenIdConnectProviderThumbprintInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateOpenIdConnectProviderThumbprintOutput, SdkError<UpdateOpenIDConnectProviderThumbprintError>> where
R::Policy: SmithyRetryPolicy<UpdateOpenIdConnectProviderThumbprintInputOperationOutputAlias, UpdateOpenIdConnectProviderThumbprintOutput, UpdateOpenIDConnectProviderThumbprintError, UpdateOpenIdConnectProviderThumbprintInputOperationRetryAlias>,
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 Amazon Resource Name (ARN) of the IAM OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
The Amazon Resource Name (ARN) of the IAM OIDC provider resource object for which you want to update the thumbprint. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
Appends an item to ThumbprintList
.
To override the contents of this collection use set_thumbprint_list
.
A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider.
A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateOpenIDConnectProviderThumbprint<C, M, R>
impl<C, M, R> Send for UpdateOpenIDConnectProviderThumbprint<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateOpenIDConnectProviderThumbprint<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateOpenIDConnectProviderThumbprint<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateOpenIDConnectProviderThumbprint<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