nuodb-cp CLI Reference
Command-line interface for the NuoDB Control Plane REST Service
nuodb-cp [-hV] [backup
|backuppolicy
|database
|project
|user
|httpclient
|server
|external-operator
|k8s
|license
|generate-completion
|generate-doc]
| Show this help message and exit. |
| Print version information and exit. |
backup
Inspect and manage backups using the DBaaS REST service
nuodb-cp backup [-hV] [list
|get
|create
|update
|delete]
| Show this help message and exit. |
| Print version information and exit. |
list
List backups
nuodb-cp backup list [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<labelFilter>]... [--list-accessible]
[--limit=<limit>] [--offset=<offset> | --cursor=<cursor>]
[--expand-all | --expand-field=<expandFields>
[--expand-field=<expandFields>]...] RESOURCE
| The fully-qualified name of the resource containing backups to list, e.g. |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The offset at which to list items |
| The cursor at which to list items, which represents the last item returned` |
| Whether to expand payload fields |
| Field to expand, in the format |
| Filter to apply based on labels |
| Whether to return any accessible sub-resources even if the current user does not have access privileges to list all resources at this level |
| The number of items to return |
| Show this help message and exit. |
| Print version information and exit. |
get
Get an existing backup
nuodb-cp backup get [-whV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--watch-non-interactive] BACKUP
| The fully-qualified name of the backup in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Whether to stream events on resource. Non-interactive mode is automatically enabled if standard input or output is not connected to a TTY. |
| Whether to stream events on resource in non-interactive mode |
| Show this help message and exit. |
| Print version information and exit. |
create
Create a new backup
nuodb-cp backup create [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<String=String>]...
[--import-source-handle=<backupHandle>]
[--import-source-plugin=<backupPlugin>] BACKUP BACKUP
| The fully-qualified name of the backup in the format |
| The fully-qualified name of the backup to create in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Label to attach to resource |
| The existing backup handle to import |
| The plugin used to create the backup to import |
| Show this help message and exit. |
| Print version information and exit. |
update
Update an existing backup
nuodb-cp backup update [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--editor=<editor>] BACKUP
| The fully-qualified name of the backup in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The editor to use to update the resource |
| Show this help message and exit. |
| Print version information and exit. |
delete
Delete an existing backup
nuodb-cp backup delete [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--timeout=<timeout>] BACKUP
| The fully-qualified name of the backup in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The number of seconds to wait for the operation to be finalized, unless 0 is specified which indicates not to wait |
| Show this help message and exit. |
| Print version information and exit. |
backuppolicy
Inspect and manage backup policies using the DBaaS REST service
nuodb-cp backuppolicy [-hV] [list
|list-backups
|list-databases
|get
|create
|update
|delete]
| Show this help message and exit. |
| Print version information and exit. |
list
List backup policies
nuodb-cp backuppolicy list [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<labelFilter>]... [--list-accessible]
[--limit=<limit>] [--offset=<offset> |
--cursor=<cursor>] [--expand-all |
--expand-field=<expandFields>
[--expand-field=<expandFields>]...] ORGANIZATION
| The name of the organization, or |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The offset at which to list items |
| The cursor at which to list items, which represents the last item returned` |
| Whether to expand payload fields |
| Field to expand, in the format |
| Filter to apply based on labels |
| Whether to return any accessible sub-resources even if the current user does not have access privileges to list all resources at this level |
| The number of items to return |
| Show this help message and exit. |
| Print version information and exit. |
list-backups
List the backups taken by the backup policy
nuodb-cp backuppolicy list-backups [-hV] [-b=<urlBase>] [-u=<user>] [-p
[=<password>]] [--token=<token>]
[--trusted-cert=<trustedCert>]
[-l=<labelFilter>]... [--list-accessible]
[--limit=<limit>] [--offset=<offset> |
--cursor=<cursor>] [--expand-all |
--expand-field=<expandFields>
[--expand-field=<expandFields>]...] POLICY
| The fully-qualified name of the backup policy in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The offset at which to list items |
| The cursor at which to list items, which represents the last item returned` |
| Whether to expand payload fields |
| Field to expand, in the format |
| Filter to apply based on labels |
| Whether to return any accessible sub-resources even if the current user does not have access privileges to list all resources at this level |
| The number of items to return |
| Show this help message and exit. |
| Print version information and exit. |
list-databases
List the databases that the backup policy applies to
nuodb-cp backuppolicy list-databases [-hV] [-b=<urlBase>] [-u=<user>] [-p
[=<password>]] [--token=<token>]
[--trusted-cert=<trustedCert>]
[-l=<labelFilter>]... [--list-accessible]
[--limit=<limit>] [--offset=<offset> |
--cursor=<cursor>] [--expand-all |
--expand-field=<expandFields>
[--expand-field=<expandFields>]...] POLICY
| The fully-qualified name of the backup policy in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The offset at which to list items |
| The cursor at which to list items, which represents the last item returned` |
| Whether to expand payload fields |
| Field to expand, in the format |
| Filter to apply based on labels |
| Whether to return any accessible sub-resources even if the current user does not have access privileges to list all resources at this level |
| The number of items to return |
| Show this help message and exit. |
| Print version information and exit. |
get
Get an existing backup policy
nuodb-cp backuppolicy get [-whV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--watch-non-interactive] POLICY
| The fully-qualified name of the backup policy in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Whether to stream events on resource. Non-interactive mode is automatically enabled if standard input or output is not connected to a TTY. |
| Whether to stream events on resource in non-interactive mode |
| Show this help message and exit. |
| Print version information and exit. |
create
Create a new backup policy
nuodb-cp backuppolicy create [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<String=String>]... --frequency=<frequency>
--selector-scope=<selectorScope>
[--selector-sla=<selectorSlas>]...
[--selector-tier=<selectorTiers>]...
[--selector-label=<String=String>]...
[--hourly-retention=<hourlyRetention>]
[--daily-retention=<dailyRetention>]
[--weekly-retention=<weeklyRetention>]
[--monthly-retention=<monthlyRetention>]
[--yearly-retention=<yearlyRetention>]
[--day-of-week=<dayOfWeek>] [--month=<month>]
[--use-current-time] [--promote-latest-to-hourly]
[--promote-latest-to-daily]
[--promote-latest-to-monthly] [--suspended]
[--disable-policy-label-propagation]
[--disable-db-label-propagation] POLICY
| The fully-qualified name of the backup policy in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Label to attach to resource |
| The frequency to schedule backups at, in cron format |
| The scope that the backup policy applies to |
| SLA to filter databases on |
| Tier to filter databases on |
| Label to filter databases on |
| The number of hourly backups to retain |
| The number of daily backups to retain |
| The number of weekly backups to retain |
| The number of monthly backups to retain |
| The number of yearly backups to retain |
| The day of the week used to promote backup to weekly |
| The month of the year used to promote backup to yearly |
| Whether to apply the backup rotation scheme relative to the current time instead to the last successful backup |
| Whether to promote the latest backup within the hour if multiple backups exist for that hour |
| Whether to promote the latest backup within the day if multiple backups exist for that day |
| Whether to promote the latest backup within the month if multiple backups exist for that month |
| Whether backups from the policy are suspended |
| Whether to disable propagation of policy labels to backups created from the policy |
| Whether to disable propagation of database labels to backups created from the policy |
| Show this help message and exit. |
| Print version information and exit. |
update
Update an existing backup policy
nuodb-cp backuppolicy update [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--editor=<editor>] POLICY
| The fully-qualified name of the backup policy in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The editor to use to update the resource |
| Show this help message and exit. |
| Print version information and exit. |
delete
Delete an existing backup policy
nuodb-cp backuppolicy delete [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--timeout=<timeout>] POLICY
| The fully-qualified name of the backup policy in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The number of seconds to wait for the operation to be finalized, unless 0 is specified which indicates not to wait |
| Show this help message and exit. |
| Print version information and exit. |
database
Inspect and manage databases using the DBaaS REST service
nuodb-cp database [-hV] [list
|get
|create
|update
|delete
|connect]
| Show this help message and exit. |
| Print version information and exit. |
list
List databases
nuodb-cp database list [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<labelFilter>]... [--list-accessible]
[--limit=<limit>] [--offset=<offset> |
--cursor=<cursor>] [--expand-all |
--expand-field=<expandFields>
[--expand-field=<expandFields>]...] RESOURCE
| The fully-qualified name of the resource containing databases to list, e.g. |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The offset at which to list items |
| The cursor at which to list items, which represents the last item returned` |
| Whether to expand payload fields |
| Field to expand, in the format |
| Filter to apply based on labels |
| Whether to return any accessible sub-resources even if the current user does not have access privileges to list all resources at this level |
| The number of items to return |
| Show this help message and exit. |
| Print version information and exit. |
get
Get an existing database
nuodb-cp database get [-whV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--watch-non-interactive] DATABASE
| The fully-qualified name of the database in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Whether to stream events on resource. Non-interactive mode is automatically enabled if standard input or output is not connected to a TTY. |
| Whether to stream events on resource in non-interactive mode |
| Show this help message and exit. |
| Print version information and exit. |
create
Create a new database
nuodb-cp database create [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<String=String>]... [--dba-password
[=<dbaPassword>]] [--tier=<tier>]
[--expires-in=<expiresIn>] [--disabled]
[--restore-from-backup=<restoreFromBackup>]
[--archive-size=<archiveSize>]
[--journal-size=<journalSize>]
[--tier-param=<String=String>]...
[--inherit-tier-params]
[--archive-resize-threshold=<threshold>]
[--archive-resize-growth=<growth>]
[--archive-initial-size=<initialSize>]
[--archive-max-size=<maxSize>]
[--journal-resize-threshold=<threshold>]
[--journal-resize-growth=<growth>]
[--journal-initial-size=<initialSize>]
[--journal-max-size=<maxSize>]
[--product-version=<productVersion> |
--product-version-selector-tag=<matchesTag>] DATABASE
| The fully-qualified name of the database in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Label to attach to resource |
| The password for the DBA user |
| The tier for the database |
| Set the database to expire after elapsed time |
| Set the database as disabled |
| The backup to restore the database from |
| The size of database archives |
| The size of database journals |
| Opaque parameter supplied to service tier |
| Whether to inherit tier parameters from the project if the database service tier matches the project. |
| The version/tag of the NuoDB image to use. For available tags, see https://hub.docker.com/r/nuodb/nuodb/tags. If omitted, the project version will be resolved based on the SLA and cluster configuration. |
| Set the version metadata tag to match a NuoDB version |
| The threshold at which the volume will be expanded. Either number of available bytes (e.g. 2Gi) or percentage (20%) of the available disk space at which volume expansion is performed. |
| Determines the new size of the volume. If maxSize is set, then the new volume size will be evaluated as the minimum of maxSize and result of applying the growth configuration. Either constant number of bytes (e.g. +20Gi) or factor of the current size (e.g. x1.2) are allowed. Defaults to x1.2 volume size increase (or minimum of 1Gi increase). |
| The initial volume size. |
| The maximum volume size. |
| The threshold at which the volume will be expanded. Either number of available bytes (e.g. 2Gi) or percentage (20%) of the available disk space at which volume expansion is performed. |
| Determines the new size of the volume. If maxSize is set, then the new volume size will be evaluated as the minimum of maxSize and result of applying the growth configuration. Either constant number of bytes (e.g. +20Gi) or factor of the current size (e.g. x1.2) are allowed. Defaults to x1.2 volume size increase (or minimum of 1Gi increase). |
| The initial volume size. |
| The maximum volume size. |
| Show this help message and exit. |
| Print version information and exit. |
update
Update an existing database
nuodb-cp database update [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--editor=<editor>] DATABASE
| The fully-qualified name of the database in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The editor to use to update the resource |
| Show this help message and exit. |
| Print version information and exit. |
delete
Delete an existing database
nuodb-cp database delete [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--timeout=<timeout>] DATABASE
| The fully-qualified name of the database in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The number of seconds to wait for the operation to be finalized, unless 0 is specified which indicates not to wait |
| Show this help message and exit. |
| Print version information and exit. |
connect
Connect to a database
nuodb-cp database connect [-sShV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
--db-user=<dbUser> [--db-password[=<dbPassword>]]
[--ingress-port=<ingressPort>]
[-P=<String=String>]... [-t=<truststore>]
[--truststore-password=<truststorePassword>]
[-o=<outputFormat>] [-i=<inputFile> | -I=<input>]
DATABASE
| The fully-qualified name of the database in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The name of the database user |
| The password to authenticate the database user |
| The port for the ingress load balancer enabling database connectivity |
| A connection property |
| The path of the truststore to create from the CA PEM of the database response. If not specified, the truststore will be created in a temporary location. If a truststore already exists at the specified location, it will be used instead of a newly created one. |
| The password to use for integrity checks of the truststore |
| The format to display results when executing in non-interactive mode |
| Show the URL and connection properties |
| Show the URL and connection properties without connecting to the database |
| File containing SQL statements to execute in non-interactive mode |
| SQL statements to execute in non-interactive mode |
| Show this help message and exit. |
| Print version information and exit. |
project
Inspect and manage projects using the DBaaS REST service
nuodb-cp project [-hV] [list
|get
|create
|update
|delete]
| Show this help message and exit. |
| Print version information and exit. |
list
List projects
nuodb-cp project list [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<labelFilter>]... [--list-accessible]
[--limit=<limit>] [--offset=<offset> | --cursor=<cursor>]
[--expand-all | --expand-field=<expandFields>
[--expand-field=<expandFields>]...] ORGANIZATION
| The name of the organization, or |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The offset at which to list items |
| The cursor at which to list items, which represents the last item returned` |
| Whether to expand payload fields |
| Field to expand, in the format |
| Filter to apply based on labels |
| Whether to return any accessible sub-resources even if the current user does not have access privileges to list all resources at this level |
| The number of items to return |
| Show this help message and exit. |
| Print version information and exit. |
get
Get an existing project
nuodb-cp project get [-whV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--watch-non-interactive] PROJECT
| The fully-qualified name of the project in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Whether to stream events on resource. Non-interactive mode is automatically enabled if standard input or output is not connected to a TTY. |
| Whether to stream events on resource in non-interactive mode |
| Show this help message and exit. |
| Print version information and exit. |
create
Create a new project
nuodb-cp project create [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<String=String>]... --sla=<sla> --tier=<tier>
[--tier-param=<String=String>]...
[--expires-in=<expiresIn>] [--disabled]
[--product-version=<productVersion> |
--product-version-selector-tag=<matchesTag>] PROJECT
| The fully-qualified name of the project in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Label to attach to resource |
| The SLA for the project |
| The tier for the project |
| Opaque parameter supplied to service tier |
| Set the database to expire after elapsed time |
| Set the database as disabled |
| The version/tag of the NuoDB image to use. For available tags, see https://hub.docker.com/r/nuodb/nuodb/tags. If omitted, the project version will be resolved based on the SLA and cluster configuration. |
| Set the version metadata tag to match a NuoDB version |
| Show this help message and exit. |
| Print version information and exit. |
update
Update an existing project
nuodb-cp project update [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--editor=<editor>] PROJECT
| The fully-qualified name of the project in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The editor to use to update the resource |
| Show this help message and exit. |
| Print version information and exit. |
delete
Delete an existing project
nuodb-cp project delete [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--timeout=<timeout>] PROJECT
| The fully-qualified name of the project in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The number of seconds to wait for the operation to be finalized, unless 0 is specified which indicates not to wait |
| Show this help message and exit. |
| Print version information and exit. |
user
Inspect and manage users using the DBaaS REST service
nuodb-cp user [-hV] [list
|get
|create
|update
|delete]
| Show this help message and exit. |
| Print version information and exit. |
list
List users
nuodb-cp user list [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<labelFilter>]... [--list-accessible] [--limit=<limit>]
[--offset=<offset> | --cursor=<cursor>] [--expand-all |
--expand-field=<expandFields>
[--expand-field=<expandFields>]...] ORGANIZATION
| The name of the organization, or |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The offset at which to list items |
| The cursor at which to list items, which represents the last item returned` |
| Whether to expand payload fields |
| Field to expand, in the format |
| Filter to apply based on labels |
| Whether to return any accessible sub-resources even if the current user does not have access privileges to list all resources at this level |
| The number of items to return |
| Show this help message and exit. |
| Print version information and exit. |
get
Get an existing user
nuodb-cp user get [-whV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--watch-non-interactive] USER
| The fully-qualified name of the USER in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Whether to stream events on resource. Non-interactive mode is automatically enabled if standard input or output is not connected to a TTY. |
| Whether to stream events on resource in non-interactive mode |
| Show this help message and exit. |
| Print version information and exit. |
create
Create a new user
nuodb-cp user create [-XhV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-l=<String=String>]... [-P[=<password>]] [-a=<allow>]...
[-d=<deny>]... USER
| The fully-qualified name of the USER in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Label to attach to resource |
| The password for the user to create |
| A rule entry that grants access to the user |
| A rule entry that denies access to the user |
| Allow user to have access outside of its organization |
| Show this help message and exit. |
| Print version information and exit. |
update
Update an existing user
nuodb-cp user update [-XhV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--editor=<editor>] USER
| The fully-qualified name of the USER in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The editor to use to update the resource |
| Allow user to have access outside of its organization |
| Show this help message and exit. |
| Print version information and exit. |
delete
Delete an existing user
nuodb-cp user delete [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[--timeout=<timeout>] USER
| The fully-qualified name of the USER in the format |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| The number of seconds to wait for the operation to be finalized, unless 0 is specified which indicates not to wait |
| Show this help message and exit. |
| Print version information and exit. |
httpclient
Issue an HTTP/REST request
nuodb-cp httpclient [-hV] [-b=<urlBase>] [-u=<user>] [-p[=<password>]]
[--token=<token>] [--trusted-cert=<trustedCert>]
[-q=<String=String>]... [-d=<data>] [-j=<jsonPath>]
[--full-response] [--pretty-print] [--unquote] METHOD
PATH...
| The request method |
| The resource path |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| A query parameter to supply |
| The request data to supply |
| The JSONPath expression to apply to the response payload |
| Whether to show the response headers and status code |
| Whether to pretty print the response payload |
| Whether to unquote the filtered response if it is a string |
| Show this help message and exit. |
| Print version information and exit. |
server
Server-related subcommands
nuodb-cp server [-hV] [start
|get-spec]
| Show this help message and exit. |
| Print version information and exit. |
start
Start the REST server
nuodb-cp server start [-hV] [-p=<String=String>]...
| A server property override |
| |
| Show this help message and exit. |
| Print version information and exit. |
get-spec
Get OpenAPI spec for REST API
nuodb-cp server get-spec [-hV] [-u=<url>] [-f=<format>]
| The URL for the server in the generated spec |
| The output format to use |
| |
| Show this help message and exit. |
| Print version information and exit. |
external-operator
Subcommands related to the DBaaS External Operator
nuodb-cp external-operator [-hV] [start
|generate-crds]
| Show this help message and exit. |
| Print version information and exit. |
start
Start the DBaaS External Operator
nuodb-cp external-operator start [-hV] [--log-levels=<logLevels>]
[--kubeconfig=<kubeconfig>]
[--enable-leader-election]
[--disable-http-server] [--port=<port>]
[--property=<String=String>]... [-b=<urlBase>]
[-u=<user>] [-p[=<password>]]
[--token=<token>]
[--trusted-cert=<trustedCert>]
| Log levels in the format |
| The kubeconfig file to use to configure the Kubernetes client |
| Whether to enable leader election |
| Whether to disable HTTP server used for probes and metrics |
| The port the HTTP server should listen on, if enabled |
| A server property override |
| The base URL for the server, including the protocol |
| The name of the user issuing the request |
| The password to authenticate the user |
| The token used to authenticate the user |
| The certificate used to verify the HTTPS server in PEM format |
| Show this help message and exit. |
| Print version information and exit. |
generate-crds
Generate CRDs for the DBaaS External Operator
nuodb-cp external-operator generate-crds [-hV] [--output-dir=<outputDir>]
| The directory to output CRDs to |
| Show this help message and exit. |
| Print version information and exit. |
k8s
Inspect and manage Kubernetes state for the NuoDB Control Plane
nuodb-cp k8s [-hV] [generate-tls
|create-user
|rotate-dba-creds
|delete-cluster-config]
| Show this help message and exit. |
| Print version information and exit. |
generate-tls
Generate TLS keys and certificates for a NuoDB project
nuodb-cp k8s generate-tls [-chV] [-e=<endpoint>] [-t[=<truststorePassword>]] [-k
[=<keystorePassword>]] [--key-strength=<keyStrength>]
[--key-type=<keyType>] [--validity=<daysValid>]
ORGANIZATION PROJECT
| The name of the organization containing the project to generate TLS key data for |
| The name of the project to generate TLS key data for |
| Endpoint for SQL clients, which will be used as the Common Name (CN) attribute in the certificate |
| The password used to verify the integrity of the truststore |
| The password used to encrypt the keystore |
| The strength of the key-pairs to generate |
| The asymmetric encryption algorithm to use |
| The number of days for generated certificates to be valid |
| Whether to create the Kubernetes secret resource in configured cluster |
| Show this help message and exit. |
| Print version information and exit. |
create-user
Create a user secret resource for the NuoDB Control Plane REST service
nuodb-cp k8s create-user [-chV] [--password[=<password>]] -p=<project> [-ap
[=<authorizedProjects>...]]... [-ao
[=<authorizedOrganizations>...]]... [--plain-password]
ORGANIZATION USER
| The name of the organization the user will belong to |
| The name of the user |
| The password for the user |
| The project the user will be authorized to access |
| Additional projects the user will be authorized to access |
| Additional organizations the user will be authorized to access |
| Whether to create the Kubernetes secret resource in configured cluster that defines the user |
| Whether to serialize password as plaintext rather than serializing a salted hash of the password |
| Show this help message and exit. |
| Print version information and exit. |
rotate-dba-creds
Rotate DBA credentials for a NuoDB database
nuodb-cp k8s rotate-dba-creds [-hV] [--dba-password[=<dbaPassword>]]
[--finalize] ORGANIZATION PROJECT DATABASE
| The name of the organization for the target database |
| The name of the project for the target database |
| The name of the database which credentials are being rotated |
| The target password for the DBA user |
| Finalize database DBA password rotation to make the target DBA password current |
| Show this help message and exit. |
| Print version information and exit. |
delete-cluster-config
Delete cluster configuration resources
nuodb-cp k8s delete-cluster-config [-yhV] [-l=<labelFilter>]...
[-r=<resourceTypes>...]...
[--timeout=<timeout>]
| Filter to apply based on labels |
| List of cluster resource types to delete |
| The number of seconds to wait for the operation to be finalized, unless 0 is specified which indicates not to wait |
| Automatically approve deletion of resources |
| Show this help message and exit. |
| Print version information and exit. |
license
Decode and check NuoDB licenses
nuodb-cp license [-chV] [-k=<key>] [-f=<file> | -s=<secret> |
--content=<content>]
| The file containing the NuoDB license |
| The Kubernetes Secret resource containing the NuoDB license |
| The NuoDB license content |
| The key within the Kubernetes Secret resource containing the NuoDB license |
| Whether to check that the license is valid |
| Show this help message and exit. |
| Print version information and exit. |
generate-completion
Generate Bash or Zsh completion script for nuodb-cp
nuodb-cp generate-completion [-hV]
| Show this help message and exit. |
| Print version information and exit. |
generate-doc
Generate documentation for nuodb-cp in Asciidoc format
nuodb-cp generate-doc [-hV]
| Show this help message and exit. |
| Print version information and exit. |