tldr/pages/common/aws-acm-pca.md

37 lines
1.4 KiB
Markdown
Raw Normal View History

# aws acm-pca
> AWS Certificate Manager Private Certificate Authority.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/acm-pca/index.html>.
- Create a private certificate authority:
`aws acm-pca create-certificate-authority --certificate-authority-configuration {{ca_config}} --idempotency-token {{token}} --permanent-deletion-time-in-days {{number}}`
- Describe a private certificate authority:
`aws acm-pca describe-certificate-authority --certificate-authority-arn {{ca_arn}}`
- List private certificate authorities:
`aws acm-pca list-certificate-authorities`
- Update a certificate authority:
`aws acm-pca update-certificate-authority --certificate-authority-arn {{ca_arn}} --certificate-authority-configuration {{ca_config}} --status {{status}}`
- Delete a private certificate authority:
`aws acm-pca delete-certificate-authority --certificate-authority-arn {{ca_arn}}`
- Issue a certificate:
`aws acm-pca issue-certificate --certificate-authority-arn {{ca_arn}} --certificate-signing-request {{cert_signing_request}} --signing-algorithm {{algorithm}} --validity {{validity}}`
- Revoke a certificate:
`aws acm-pca revoke-certificate --certificate-authority-arn {{ca_arn}} --certificate-serial {{serial}} --reason {{reason}}`
- Get certificate details:
`aws acm-pca get-certificate --certificate-authority-arn {{ca_arn}} --certificate-arn {{cert_arn}}`