Ajouter un profil OKS à votre compte Outscale
Récupéré depuis https://docs.outscale.com/fr/userguide/Ajouter-un-profil-OKS-à-votre-compte-Outscale.html (2025-03-31T09:19:23.541Z)
Cette page est à ce jour disponible en anglais uniquement. |
Access to Kubernetes clusters using OKS CLI is managed through profiles. You can add an OKS profile to your Outscale account using OKS CLI.
Profiles are Outscale accounts with a defined project and cluster limit added to your |
Once you have added and tested your profile, you can proceed with Gérer vos projets avec OKS CLI.
Adding an OKS Profile to Your Outscale Account Using OKS CLI
Before you begin: Install and configure OKS CLI. For more information, see Installer et configurer OKS CLI. |
The profile add
command allows you to set an existing Outscale account as an OKS profile:
oks-cli profile add \
--profile-name "default" \
--username "MY_LOGIN" // --access-key "MY_ACCESS_KEY" \
--password "MY_ACOUNT_PASSWORD" // --secret-key "MY_SECRET_KEY" \
--region "eu-west-2" \
--jwt false
The profile add
command contains the following options that you need to specify:
-
(optional)
profile-name
: The name of the profile being added.-
By default,
default
. -
If you do not create a
default
profile, you will have to explicitly specify the profile you want to use in other oks-cli commands, with their--profile
parameter.
-
-
username
andpassword
: Used for login/password authentication:-
username
: Your login (username or email address) associated with your Outscale account. -
password
: The password of your Outscale account.
-
-
access-key
/secret-key
: Used for access key/secret key authentication:-
access-key
: Your access key. -
secret-key
: Your secret key.
-
-
region
: The Region of your OUTSCALE account, where you want to deploy and manage your OKS clusters. -
(optional)
endpoint
: The endpoint corresponding to the Region you want to send the request to. By default, the Region you set in youroks-cli
configuration is used. For more information, see Référence des endpoints d’API. -
(optional)
jwt
: Determines whether JWT (JSON Web Token) authentication is enabled, eithertrue
orfalse
. By default,false
.
The profile is added.
Profile default has been successfully added
Related Pages