Updating an OKS Profile
You can update an OKS profile using OKS CLI.
Updating an OKS Profile Using OKS CLI
Before you begin: Install and configure OKS CLI. For more information, see Installing and Configuring OKS CLI. |
The profile update command allows you to modify the Region and corresponding endpoint of one of your OKS profiles.
Request sample
$ oks-cli profile update \
--profile-name "default" \
--region cloudgouv-eu-west-1
This command has the following options that you need to specify:
-
profile-name
: The name of the profile you want to update. -
region
: The Region you want to update the profile to. -
endpoint
: The endpoint you want to update the profile to. -
jwt
: Determines whether JWT (JSON Web Token) authentication is enabled, eithertrue
orfalse
. By default,false
.
The profile is updated with the new information you specified.
Result sample
Profile default has been successfully updated
Related Pages