pub struct UpdateOpenIDConnectProviderThumbprint { /* private fields */ }
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
sourceimpl UpdateOpenIDConnectProviderThumbprint
impl UpdateOpenIDConnectProviderThumbprint
sourcepub async fn send(
self
) -> Result<UpdateOpenIdConnectProviderThumbprintOutput, SdkError<UpdateOpenIDConnectProviderThumbprintError>>
pub async fn send(
self
) -> Result<UpdateOpenIdConnectProviderThumbprintOutput, SdkError<UpdateOpenIDConnectProviderThumbprintError>>
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.
sourcepub fn open_id_connect_provider_arn(self, input: impl Into<String>) -> Self
pub fn open_id_connect_provider_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_open_id_connect_provider_arn(self, input: Option<String>) -> Self
pub fn set_open_id_connect_provider_arn(self, input: Option<String>) -> Self
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.
sourcepub fn thumbprint_list(self, input: impl Into<String>) -> Self
pub fn thumbprint_list(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_thumbprint_list(self, input: Option<Vec<String>>) -> Self
pub fn set_thumbprint_list(self, input: Option<Vec<String>>) -> Self
A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider
.
Trait Implementations
sourceimpl Clone for UpdateOpenIDConnectProviderThumbprint
impl Clone for UpdateOpenIDConnectProviderThumbprint
sourcefn clone(&self) -> UpdateOpenIDConnectProviderThumbprint
fn clone(&self) -> UpdateOpenIDConnectProviderThumbprint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateOpenIDConnectProviderThumbprint
impl Send for UpdateOpenIDConnectProviderThumbprint
impl Sync for UpdateOpenIDConnectProviderThumbprint
impl Unpin for UpdateOpenIDConnectProviderThumbprint
impl !UnwindSafe for UpdateOpenIDConnectProviderThumbprint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more