AWS code-library documentation change
Summary
Added PowerShell V5 example for DeleteCertificate operation
Security assessment
Demonstrates certificate deletion, which is part of certificate lifecycle management (a security feature), but does not address a specific security vulnerability.
Diff
diff --git a/code-library/latest/ug/acm_example_acm_DeleteCertificate_section.md b/code-library/latest/ug/acm_example_acm_DeleteCertificate_section.md index 2602594f1..777436a77 100644 --- a//code-library/latest/ug/acm_example_acm_DeleteCertificate_section.md +++ b//code-library/latest/ug/acm_example_acm_DeleteCertificate_section.md @@ -165,0 +166,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: Deletes the certificate identified by the supplied ARN and the associated private key. The cmdlet will prompt for confirmation before proceeding; add the -Force switch to suppress confirmation.** + + + Remove-ACMCertificate -CertificateArn "arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012" + + + * For API details, see [DeleteCertificate](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +