You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create and manage secrets using CLI. Here are the aspects to manage:
Creating a secret
Command
ks secret create <project_id><options>
Options
--name/-n: Name of the secret
--value/-v: Value of the secret
--note/-d: (Optional) Description of the secret
--rotateAfter/-r: (Optional) Duration, after which the value should be updated. Default is never.
--environment/-e: (Optional) Environment under which the secret should belong to. Defaults to the default environment of the project.
Updating a secret
Command
ks environment update <secret_id><options>
Options
Specifying any of these options will update only that specific property of the environment. At least one option needs to be specified for this command to run.
--name/-n: (Optional) Name of the secret
--note/-d: (Optional) Description of the secret
--rotateAfter/-r: (Optional) Duration, after which the value should be updated. Default is never.
Description
Create and manage secrets using CLI. Here are the aspects to manage:
Creating a secret
Command
Options
--name/-n
: Name of the secret--value/-v
: Value of the secret--note/-d
: (Optional) Description of the secret--rotateAfter/-r
: (Optional) Duration, after which the value should be updated. Default is never.--environment/-e
: (Optional) Environment under which the secret should belong to. Defaults to the default environment of the project.Updating a secret
Command
Options
Specifying any of these options will update only that specific property of the environment. At least one option needs to be specified for this command to run.
--name/-n
: (Optional) Name of the secret--note/-d
: (Optional) Description of the secret--rotateAfter/-r
: (Optional) Duration, after which the value should be updated. Default is never.Updating the environment of a secret
Command
Creating a new revision of the secret
Command
Rolling back to an older revision
Command
Listing all secrets
Command
Options
--page
: (Optional) The page index--size
: (Optional) Size of the pageDeleting a secret
Command
Read a secret
Command
The text was updated successfully, but these errors were encountered: