ResourceWithSensitiveValues
A resource with its sensitive payload values revealed, returned by the exportResource mutation.
Unlike the regular Resource type — where fields marked $md.sensitive in the resource
type's schema are masked — this type exposes the raw values so they can be consumed by
automation or copied into downstream systems. Requesting this type is recorded in the
audit log.
type ResourceWithSensitiveValues {
id: ID!
name: String!
origin: ResourceOrigin!
resourceType: ResourceType
payload: Map
rendered: String!
createdAt: DateTime!
updatedAt: DateTime!
}
Fields
ResourceWithSensitiveValues.id ● ID! non-null scalar {#id}
Unique identifier for this resource.
ResourceWithSensitiveValues.name ● String! non-null scalar {#name}
Human-readable display name for this resource.
ResourceWithSensitiveValues.origin ● ResourceOrigin! non-null enum {#origin}
How this resource was created.
ResourceWithSensitiveValues.resourceType ● ResourceType object {#resource-type}
The resource type that this resource conforms to, defining its schema and validation rules.
ResourceWithSensitiveValues.payload ● Map scalar {#payload}
The resource's payload with $md.sensitive fields unmasked. The shape is defined by
the resource type's schema.
ResourceWithSensitiveValues.rendered ● String! non-null scalar {#rendered}
The resource rendered in the requested format. For json this is a stringified JSON
document of the payload; for resource-type-specific formats (e.g. yaml, env) this is
the template output defined by the resource type's schema.
ResourceWithSensitiveValues.createdAt ● DateTime! non-null scalar {#created-at}
When this resource was created (UTC).
ResourceWithSensitiveValues.updatedAt ● DateTime! non-null scalar {#updated-at}
When this resource was last modified (UTC).