Update Saml Provider
iam_update_saml_provider | R Documentation |
Updates the metadata document, SAML encryption settings, and private keys for an existing SAML provider¶
Description¶
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.
Usage¶
iam_update_saml_provider(SAMLMetadataDocument, SAMLProviderArn,
AssertionEncryptionMode, AddPrivateKey, RemovePrivateKey)
Arguments¶
SAMLMetadataDocument
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.
SAMLProviderArn
[required] 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.
AssertionEncryptionMode
Specifies the encryption setting for the SAML provider.
AddPrivateKey
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.
RemovePrivateKey
The Key ID of the private key to remove.
Value¶
A list with the following syntax: