Inventory Configuration
Inventory Configuration
Object.
This section describes inventory configuration file structure. This file, usually named inventory.yaml, can be referenced via --inventory-file option of the command line interface.
Properties
-
data_sources:Inventory.
Inventory
Used in: data_sources
Object.
Contains input and output database connection details.
This simplified structure replaces the previous map-based approach with explicit input and output properties.
|
Please note that the following CLI options are equivalent to the inventory data sources settings:
If these options are specified together with |
Properties
-
input:Inventory Datasource.
-
output:Inventory Datasource.
Inventory Datasource
Object.
The database connection details.
Properties
-
url:String. -
user:Credentials.
-
password:Credentials.
-
read_only:Boolean.
Indicates if the data source can be used as source only (default: false)
Credentials
Object.
Depending on type property value, can be one of the following:
|
|
|
|
|
|
|
RawCredentials
Raw credentials, no integration with secret managers required
Properties
-
type = raw
-
value:String.
GcpCredentials
The values stored in Google Cloud Secret Manager
Properties
-
type = gcp
-
project:String. -
secret:String. -
version:String.
AwsCredentials
The values stored in AWS Secrets Manager
Properties
-
type = aws
-
secret:String.
The ARN or name of the secret to retrieve.
-
version:String.
The unique identifier of the version of the secret to retrieve. If you don’t specify the version, then theAWSCURRENTversion is used.
VaultCredentials
The values stored in Hashicorp Vault
Properties
-
type = vault
-
storage:String.
The name of the secret storage (e.g. "secret", "database", "cubbyhole", etc).
-
path:String.
The mount path of the secret.
-
secret:String.
The name of the secret to retrieve.
-
versioned:Boolean.
Indicates if the current secret storage is versioned ("false" by default).
-
version:String.
The unique identifier of the version of the secret to retrieve. Using 0 as the default value for the current version.