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. On AWS only access keys have this; SSH keys, certificates, and service-specific credentials get null with not_supported_by_provider -- never a bare null that could read as 'never used'.

last_used_servicestring

Which provider service last used the credential, where exposed.

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.