Global InfraGlobal Infra Cloud
dbaas-pg

database-hba-entry

CLI reference for database-hba-entry (dbaas-pg).

gi dbaas-pg database-hba-entry

Subcommands

CommandDescription
gi dbaas-pg database-hba-entry listList database-hba-entries.
gi dbaas-pg database-hba-entry createCreate a new database-hba-entry.
gi dbaas-pg database-hba-entry update <id>Update a database-hba-entry.
gi dbaas-pg database-hba-entry delete <id>Delete a database-hba-entry.

Flags

list flags

FlagAliasDescription
--filter-fFilter assets (e.g. attributes.name=my-asset)

create flags

FlagAliasDescription
--file—Path to a YAML or JSON file describing the asset

update flags

FlagAliasDescription
--file—Path to a YAML or JSON file with updated attributes

Examples

# List all
gi dbaas-pg database-hba-entry list

# Filter by attribute
gi dbaas-pg database-hba-entry list -f attributes.auth_method=scram-sha-256

# Create from file
gi dbaas-pg database-hba-entry create --file asset.yaml

# Update
gi dbaas-pg database-hba-entry update <id> --file asset.yaml

# Delete
gi dbaas-pg database-hba-entry delete <id>

Usage Notes

On this page