update_saml_provider
async
¶
update_saml_provider(
saml_provider_arn: arnType,
*,
config_overrides: Optional[AsyncIAMClientConfig] = None,
saml_metadata_document: Optional[SAMLMetadataDocumentType] = None,
assertion_encryption_mode: Optional[assertionEncryptionModeType] = None,
add_private_key: Optional[privateKeyType] = None,
remove_private_key: Optional[privateKeyIdType] = None,
) -> UpdateSAMLProviderResponse
Updates the metadata document, SAML encryption settings, and private keys for an existing SAML provider. To rotate private keys, add your new private key and then remove the old key in a separate request.
Parameters:
-
saml_metadata_document(Optional[SAMLMetadataDocumentType], default:None) –An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your IdP.
-
saml_provider_arn(arnType) –The Amazon Resource Name (ARN) of the SAML provider to update.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
-
assertion_encryption_mode(Optional[assertionEncryptionModeType], default:None) –Specifies the encryption setting for the SAML provider.
-
add_private_key(Optional[privateKeyType], default:None) –Specifies the new private key from your external identity provider. The private key must be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to decrypt SAML assertions.
-
remove_private_key(Optional[privateKeyIdType], default:None) –The Key ID of the private key to remove.
Raises:
-
ConcurrentModificationException–The request was rejected because multiple requests to change this object were submitted simultaneously. Wait a few minutes and submit your request again.
-
InvalidInputException–The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
-
LimitExceededException–The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded.
-
NoSuchEntityException–The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
-
ServiceFailureException–The request processing has failed because of an unknown error, exception or failure.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iam/_services/async_iam.py
11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 | |