Ajouter un profil OKS à votre compte OUTSCALE
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 OKS CLI. Profiles help organize projects by grouping them under a common subject or end-client, keep billing separate for better financial management, and provide clearer cost tracking with dedicated billing accounts. |
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 your OUTSCALE root account as an OKS profile.
EIM users cannot be set as OKS profiles. |
You can use your root account credentials:
$ oks-cli profile add \
--profile-name "default" \
--username "MY_LOGIN" \
--password "MY_ACOUNT_PASSWORD" \
--region "eu-west-2"
Or you can use the access key and secret key of your root account:
$ oks-cli profile add \
--profile-name "default" \
--access-key "MY_ACCESS_KEY" \
--secret-key "MY_SECRET_KEY" \
--region "eu-west-2"
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
: The 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 ID. -
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