turbot/alicloud

steampipe plugin install alicloudsteampipe plugin install alicloud
On This Page
Get Involved

Table: alicloud_ram_user

Access keys are long-term credentials for a RAM user. You can use access keys to sign programmatic requests to the Alibaba Cloud CLI or API (directly or using the Alibaba Cloud SDK).

Examples

List of access keys with their corresponding user name and date of creation

select
access_key_id,
user_name,
create_date
from
alicloud_ram_access_key;

List of access keys which are inactive

select
access_key_id,
user_name,
status
from
alicloud_ram_access_key
where
status = 'Inactive';

Access key count by user name

select
user_name,
count (access_key_id) as access_key_count
from
alicloud_ram_access_key
group by
user_name;

Access keys older than 90 days

select
access_key_id,
user_name,
status
create_date,
age(create_date)
from
alicloud_ram_access_key
where
create_date <= (current_date - interval '90' day)
order by
create_date;

.inspect alicloud_ram_access_key

Alibaba Cloud RAM User Access Key.

NameTypeDescription
access_key_idtextThe AccessKey ID.
account_idtextThe Alicloud Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
create_datetimestamp without time zoneThe time when the AccessKey pair was created.
regiontextThe Alicloud region in which the resource is located.
statustextThe status of the AccessKey pair. Valid values: Active and Inactive.
titletextTitle of the resource.
user_nametextName of the User that the access key belongs to.