Skip to content

List Tags

acmpca_list_tags R Documentation

Lists the tags, if any, that are associated with your private CA or one that has been shared with you

Description

Lists the tags, if any, that are associated with your private CA or one that has been shared with you. Tags are labels that you can use to identify and organize your CAs. Each tag consists of a key and an optional value. Call the tag_certificate_authority action to add one or more tags to your CA. Call the untag_certificate_authority action to remove tags.

Usage

acmpca_list_tags(MaxResults, NextToken, CertificateAuthorityArn)

Arguments

MaxResults

Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

NextToken

Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

CertificateAuthorityArn

[required] The Amazon Resource Name (ARN) that was returned when you called the create_certificate_authority action. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

Value

A list with the following syntax:

list(
  NextToken = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

svc$list_tags(
  MaxResults = 123,
  NextToken = "string",
  CertificateAuthorityArn = "string"
)