s3 command manages S3 buckets.
create
The create subcommand creates a new S3 bucket record by specifying its connection details.
Options
Options
--access-keystringrequired: Access key for the S3 bucket.--bucketstringrequired: Name of the S3 bucket.--endpointstringrequired: URL of the S3 endpoint.--secret-keystringrequired: Secret key for the S3 bucket.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
delete
The delete subcommand deletes an existing S3 bucket from the system.
Argument
Argument
bucket_namestringrequired: Unique name of the S3 bucket to retrieve.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
get
The get subcommand retrieves details about a specific S3 bucket.
Argument
Argument
bucket_namestringrequired: Unique name of the S3 bucket to retrieve.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
list
The list subcommand retrieves a list of all S3 bucket records.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.
refresh
The refresh subcommand manually refreshes all S3 buckets.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.