turbot/alicloud

steampipe plugin install alicloudsteampipe plugin install alicloud

Table: alicloud_ecs_key_pair

An SSH key pair is a secure and convenient authentication method provided by Alibaba Cloud for instance logon. An SSH key pair consists of a public key and a private key. You can use SSH key pairs to log on to only Linux instances.

Examples

Basic info

select
name,
key_pair_finger_print,
creation_time,
resource_group_id
from
alicloud_ecs_key_pair;

List key pairs older than 30 days

select
name,
key_pair_finger_print,
creation_time,
age(creation_time)
from
alicloud_ecs_key_pair
where
creation_time <= (current_date - interval '30' day)
order by
creation_time;

.inspect alicloud_ecs_key_pair

An SSH key pair is a secure and convenient authentication method provided by Alibaba Cloud for instance logon. An SSH key pair consists of a public key and a private key. You can use SSH key pairs to log on to only Linux instances.

NameTypeDescription
account_idtextThe Alicloud Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
creation_timetimestamp without time zoneThe time when the key pair was created.
key_pair_finger_printtextThe fingerprint of the key pair.
nametextThe name of the key pair.
regiontextThe Alicloud region in which the resource is located.
resource_group_idtextThe ID of the resource group to which the key pair belongs.
tagsjsonbA map of tags for the resource.
tags_srcjsonbA list of tags attached with the resource.
titletextTitle of the resource.