Mettre à jour un profil OKS
Cette page est à ce jour disponible en anglais uniquement. |
You can update a profile using OKS CLI.
Updating an OKS Profile Using OKS CLI
Before you begin: Install and configure OKS CLI. For more information, see Installer et configurer OKS CLI. |
The profile update
command allows you to modify the Region and corresponding endpoint of one of your OKS profiles.
$ oks-cli profile update --profile-name "default" \
--region cloudgouv-eu-west-1
This command switches the Region (and corresponding endpoint automatically) for the profile named "default" in case it was created incorrectly.
Update command has the following options that you may 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.
Profile default has been successfully updated
Related Pages