Manifest configurations
Reference Depot manifest fields and source-specific configuration options.
Structure of Depot manifest file
name: ${{depotname}}
version: v2alpha
type: depot
tags:
- ${{tag-1}} # optional
- ${{tag-2}} # optional
owner: ${{owner-id}} # optional
layer: user
description: ${{description}} # optional
spec:
type: ${{source-type}}
spec:
# source-specific attributes go here
secrets:
- id: "${{tenant-id}}:${{secret-name}}"
purpose: scan
- id: "${{tenant-id}}:${{secret-name}}"
purpose: query
- id: "${{tenant-id}}:${{secret-name}}"
purpose: rwAttributes configuration
name
Description: Declare a name for the Depot.
Data Type
Requirement
Default Value
Possible Value
string
mandatory
none
Resource name must be less than 48 characters and conform to the following regex: [a-z]([a-z0-9]*)?
Example usage:
version
Description: The version of the Resource.
Data Type
Requirement
Default Value
Possible Value
string
mandatory
none
v2alpha
Example usage:
type
Description: Provide the value for the Resource type.
Data Type
Requirement
Default Value
Possible Value
string
mandatory
none
depot (in this case), secret, service, stack or workflow
Example usage:
tags
Description: Assign tags to the Resource-instance
Data Type
Requirement
Default Value
Possible Value
list
optional
none
any string; special characters are allowed
Example usage:
description
Description: Assign description to Resource
Data Type
Requirement
Default Value
Possible Value
string
optional
none
any string
Additional information: the description can be within quotes or without.
Example usage:
owner
Description: Identification of the user
Data Type
Requirement
Default Value
Possible Value
string
optional
id of the user applying the Resource
any valid dataos user id
Additional information: When no ID is provided, the system sets it to the ID of the user who applied the Resource on the DataOS CLI. Use the updated user-id format in examples, such as iamgrootio or johndoeio.
Example usage:
layer
Description: Declare the name of the layer in which the Resource is going to be deployed
Data Type
Requirement
Default Value
Possible Value
string
optional
user
user/system
Additional information: From a user's perspective, the operating system works at two levels: the user layer and the system layer. This is a logical separation to help you understand how the system works.
Example usage:
spec
Description: specifies the configuration for the Depot section
Data Type
Requirement
Default Value
Possible Value
mapping
mandatory
none
none
Example Usage:
type
Description: Specifies the source type of the Depot under spec
Data Type
Requirement
Default Value
Possible Value
string
mandatory
none
abfss, bigquery, elasticsearch, eventhub, gcs, jdbc, kafka, mongodb, mysql, opensearch, oracle, postgresql, redshift, s3, snowflake
Example Usage:
description
Description: Provides a description for the source config under spec
Data Type
Requirement
Default Value
Possible Value
string
optional
none
any string
Example Usage:
source
Description: Maps the Depot to the metadata source name in Metis. Running a scanner job on this Depot saves metadata in Metis DB under the specified source name. If this property is not set, metadata appears under the Depot name in Metis UI.
Data Type
Requirement
Default Value
Possible Value
string
optional
depot name
any string
Example Usage:
secrets
Description: Specifies the Secret reference(s) for the data source under spec.
Data Type
Requirement
Default Value
Possible Value
mapping
optional
none
varies between data sources
Example Usage:
secrets.id
Description: The id attribute specifies the tenant-qualified Secret reference (<tenant>:<secret-name>).
secrets.purpose
Description: The purpose attribute labels the intended access usage for a Secret attached to the Depot. It acts as a friendly, unique identifier that lets DataOS resolve which Secret to use for a given operation without requiring callers to know Secret names or IDs directly.
Data Type
Requirement
Default Value
Possible Value
string
mandatory
none
It may contain lowercase letters, digits, hyphens, and underscores, must begin with a lowercase letter, must end with a lowercase letter or digit (not a hyphen or underscore), and must be 1 to 100 characters long.
How purpose labels work
Each purpose label must be unique within a Depot. The Depot Service maintains the mapping between a purpose label and its Secret; the Secret itself does not carry the label. When a DataOS component needs credentials for a specific operation (for example, read/write access), it requests the Secret by purpose label from the Depot rather than by Secret name.
Consumers select a credential with the purpose query parameter on a dataos:// address. For example, dataos://icebase/analytics/orders?purpose=scan selects the Secret mapped to scan. Secret endpoints use the same selection mechanism, such as GET .../depots/{depot}/secrets?purpose=rw.
Valid combinations
Each purpose label appears only once in the Depot, even when multiple labels point to the same Secret:
Invalid combinations
Duplicate purpose labels within the same Depot are not allowed, even if they reference different Secrets:
spec.spec
Description: Specifies source-specific attributes (for example host, bucket, nodes, database, etc.).
Data Type
Requirement
Default Value
Possible Value
mapping
mandatory
none
varies between data sources
Example Usage:
Last updated
Was this helpful?