AWS code-library documentation change
Summary
Added PowerShell V5 example for OIDC provider deletion with trust policy warning
Security assessment
Highlights identity provider management without evidence of patching vulnerabilities
Diff
diff --git a/code-library/latest/ug/iam_example_iam_DeleteOpenIdConnectProvider_section.md b/code-library/latest/ug/iam_example_iam_DeleteOpenIdConnectProvider_section.md index 1f0663da9..81f40f8dd 100644 --- a//code-library/latest/ug/iam_example_iam_DeleteOpenIdConnectProvider_section.md +++ b//code-library/latest/ug/iam_example_iam_DeleteOpenIdConnectProvider_section.md @@ -51,0 +52,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example deletes the IAM OIDC provider that connects to the provider`example.oidcprovider.com`. Ensure that you update or delete any roles that reference this provider in the `Principal` element of the role's trust policy.** + + + Remove-IAMOpenIDConnectProvider -OpenIDConnectProviderArn arn:aws:iam::123456789012:oidc-provider/example.oidcprovider.com + + + * For API details, see [DeleteOpenIdConnectProvider](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +