ernw/openstack
steampipe plugin install ernw/openstack

Table: openstack_application_credential

An application credential consists of a credential ID and a secret string. It is used by applications to interact with OpenStack and deployed resources.

Examples

Basic application credential info

select
name,
description,
unrestricted,
project_id,
roles,
expires_at
from
openstack_application_credential;

Application credential by ID and UserID

select
name,
description,
unrestricted,
project_id,
roles,
expires_at
from
openstack_application_credential
where
id = 'e9b1ae13d4254d0c9fb9387f64e4a953'
and user_id = '6c85c7ff83f24ac0a64f56db18782ecb';

All application credentials allowing unrestricted access

select
id,
name,
description,
project_id,
roles,
expires_at
from
openstack_application_credential
where
unrestricted = true;

All expired application credentials

select
id,
name,
description,
project_id,
roles
from
openstack_application_credential
where
expires_at < cast(now() as date);

Schema for openstack_application_credential

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
access_rulesjsonbA list of access rules objects.
descriptiontextA description of the application credential’s purpose.
expires_attimestamp with time zoneThe expiration time of the application credential, if one was specified.
idtext=The ID of the application credential.
linksjsonbLinks contains referencing links to the application credential.
nametextThe name of the application credential.
project_idtextThe ID of the project the application credential was created for and that authentication requests using this application credential will be scoped to.
rolesjsonbA list of one or more roles that this application credential has associated with its project. A token using this application credential will have these same roles.
secrettextDescription is the description of the Domain.
unrestrictedbooleanA flag indicating whether the application credential may be used for creation or destruction of other application credentials or trusts.
user_idtext=The ID of the user the application credential belongs to.