Skip to content

Relationships

Schema relationships
graph LR
    StaticCredentials -->|"account"| Accounts
    StaticCredentials -->|"principal"| HumanIdentities

Properties

idstring
required·

Truto's stable unified identifier for this object. Opaque; use provider_id to address the object in the provider's own console or API.

accountstring

The account, subscription or project this object belongs to.

References: Accounts → id
collected_atstring · date-time

When Truto read this object from the provider, in UTC ISO 8601 with offset. Not the request time, and not a provider-supplied timestamp.

created_atstring · date-time

When the credential was created.

credential_idstring

The provider's own identifier for the credential.

credential_typestring

What kind of credential this is. On AWS there are five distinct types and they answer different subsets of this resource.

Possible values:
access_keyconsole_passwordservice_specificssh_public_keyx509_certificateclient_secretservice_account_keyother
enabledboolean

Whether the credential is currently active.

expires_atstring · date-time

When the credential expires. AWS access keys never expire; X.509 certificate expiry exists but AWS won't return it (must be parsed from the PEM). Only service-specific credentials expose a real expiry field.

last_used_atstring · date-time

When the credential was last used (UTC). A null always has an unreadable_fields entry saying why: not_collected (not read on this request), not_configured (never used), permission_denied (the read returned nothing), collection_error (the answer was malformed), or not_supported_by_provider (the credential type has no last-use record). Never a bare null that could read as 'never used'. (AWS: IAM GetAccessKeyLastUsed, only access keys have it, tracked since 22 April 2015; read only with fields[]=last_used_at or fields[]=last_used_service, one call per key, and the all-users list then reads at most 10 users per page.)

last_used_servicestring

Which provider service last used the credential, where exposed. Null when never used or not read; unreadable_fields says which. (AWS: the ServiceName of IAM GetAccessKeyLastUsed, e.g. s3; read only with fields[]=last_used_service or fields[]=last_used_at.)

native_typestring

The provider's own type string, unmodified -- for example 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'. Used for display and drill-down.

principalobject

The identity that holds this credential.

idstring

The target's id.

principal_typestring

Whether the holder is a human identity or a workload identity.

Possible values:
humanworkloadunknown
providerstring

Which cloud this object was read from.

Possible values:
awsazuregcp
provider_idstring

The provider's own identifier, verbatim -- a full ARN, resource id, or self-link. Never truncated or normalised. Use it to find the object in the provider's console.

regionstring

Where the object is located. 'global' marks resources with no region (e.g. IAM, a GCP VPC network). If the provider gives none, the collector's queried region is used instead and flagged in unreadable_fields.

remote_dataRecord<string, any>

Raw data returned from the remote API call.

statusstring

The provider's own status string for the credential, verbatim.

tagsobject

Key-value pairs exactly as the customer set them -- no case folding, key/value normalisation, or merging across providers. An empty object means no tags; unreadable tags appear in unreadable_fields instead.

unreadable_fieldsobject[]

Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.

detailstring

Additional detail on the reason, when there is any.

fieldstring

The property on this resource that could not be read.

reasonstring

Why the field could not be read. available_on_get: Not read on list to keep the list fast; call GET for this resource's id to get it.

Possible values:
not_supported_by_providernot_configuredpermission_deniednot_collectedcollection_errorpartially_collectedavailable_on_get
updated_atstring

When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.