Command: ubiops environment_secrets
Alias: ubiops secrets
Command: ubiops environment_secrets create
Description:
Create an environment secret.
Use --overwrite flag to update the environment secret if it already exists.
It is possible to create multiple environment secrets at once by passing a yaml file. The structure of this file is assumed to look like:
environment_secrets:
- name: env_secret_1
value: value_1
- name: env_secret_2
value: value_2
- name: env_secret_3
value: value_3
Arguments: -
Options:
-
[required]
-e/--environment_name
The environment name -
-n/--env_secret_name
The name of the environment secret -
-v/--env_secret_value
The value of the environment secret -
-f/--yaml_file
Path to a yaml file that contains environment secrets -
--overwrite
Whether you want to overwrite if exists -
-fmt/--format
The output format
Allowed values:row,yaml,json
Command: ubiops environment_secrets list
Description:
List environment secrets.
Arguments: -
Options:
-
[required]
-e/--environment_name
The environment name -
-fmt/--format
The output format
Allowed values:table,json
Command: ubiops environment_secrets get
Description:
Get an environment secret.
Arguments: -
Options:
-
[required]
-e/--environment_name
The environment name -
-id/--env_secret_id
The ID of the environment secret -
-n/--env_secret_name
The name of the environment secret -
-fmt/--format
The output format
Allowed values:row,yaml,json
Command: ubiops environment_secrets update
Description:
Update an environment secret.
Arguments: -
Options:
-
[required]
-e/--environment_name
The environment name -
[required]
-id/--env_secret_id
The ID of the environment secret -
-n/--env_secret_name
The name of the environment secret -
-v/--env_secret_value
The value of the environment secret -
-q/--quiet
Suppress informational messages
Command: ubiops environment_secrets delete
Description:
Delete an environment secret.
Arguments: -
Options:
-
[required]
-e/--environment_name
The environment name -
[required]
-id/--env_secret_id
The ID of the environment secret -
-y/--assume_yes
Assume yes instead of asking for confirmation -
-q/--quiet
Suppress informational messages
Command: ubiops environment_secrets copy
Description:
Copy all environment secrets from one environment to another.
Arguments: -
Options:
-
[required]
-s/--source_name
The name of the environment to copy environment secrets from -
[required]
-t/--target_name
The name of the environment to copy environment secrets to -
-fmt/--format
The output format
Allowed values:table,json