ec2_describe_key_pairs: Describes one or more of your key pairs
Description
Describes one or more of your key pairs.
Usage
ec2_describe_key_pairs(Filters, KeyNames, DryRun)
Arguments
Filters
One or more filters.
fingerprint - The fingerprint of the key pair.
key-name - The name of the key pair.
KeyNames
One or more key pair names.
Default: Describes all your key pairs.
DryRun
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
# NOT RUN {# This example displays the fingerprint for the specified key.# }# NOT RUN {svc$describe_key_pairs(
KeyNames = list(
"my-key-pair" )
)
# }# NOT RUN {# }