Supprimer une access key
Vous pouvez supprimer une ou plusieurs access keys associées à votre compte si vous n’en avez plus besoin.
Supprimer une access key avec Cockpit v2
-
Dans le coin supérieur droit, cliquez sur l’icône .
Un menu déroulant apparaît. -
Cliquez sur Access keys.
La liste de vos access keys apparaît. -
Sélectionnez l’access key que vous voulez supprimer.
L’access key est sélectionnée. -
Cliquez sur Supprimer.
Une boîte de dialogue de confirmation apparaît. -
Cliquez sur Supprimer.
L’access key est supprimée.
Supprimer une access key avec OSC CLI
À ce jour, cette section est disponible en anglais uniquement. |
The DeleteAccessKey command deletes the specified access key of either your root account or an EIM user.
The access key of an EIM user must be in the INACTIVE
state to be deleted.
$ osc-cli api DeleteAccessKey --profile "default" \
--AccessKeyId "ABCDEFGHIJ0123456789"
$ osc-cli api DeleteAccessKey --profile "default" \
--AccessKeyId "ABCDEFGHIJ0123456789" \
--UserName "example-user"
$ osc-cli api DeleteAccessKey --profile "default" --authentication-method "password" --login "$OSC_EMAIL" --password "$OSC_PASSWORD" \
--AccessKeyId "ABCDEFGHIJ0123456789" \
--UserName "example-user"
This command contains the following attributes that you need to specify:
-
AccessKeyId
: The ID of the access key you want to delete. -
DryRun
: (optional) If true, checks whether you have the required permissions to perform the action. -
UserName
: (optional) The name of the EIM user the access key you want to delete is associated with. By default, the user who sends the request (which can be the root account).
The DeleteAccessKey command returns the following elements:
-
ResponseContext
: Information about the context of the response.-
RequestId
: The ID of the request.
-
{
"ResponseContext": {
"RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
}
}
Supprimer une access key avec oapi-cli
À ce jour, cette section est disponible en anglais uniquement. |
The DeleteAccessKey command deletes the specified access key of either your root account or an EIM user.
The access key of an EIM user must be in the INACTIVE
state to be deleted.
$ oapi-cli --profile "default" DeleteAccessKey \
--AccessKeyId "ABCDEFGHIJ0123456789"
$ oapi-cli --profile "default" DeleteAccessKey \
--AccessKeyId "ABCDEFGHIJ0123456789" \
--UserName "example-user"
$ oapi-cli --profile "default" --login "$OSC_EMAIL" --password "$OSC_PASSWORD" DeleteAccessKey \
--AccessKeyId "ABCDEFGHIJ0123456789" \
--UserName "example-user"
This command contains the following attributes that you need to specify:
-
AccessKeyId
: The ID of the access key you want to delete. -
DryRun
: (optional) If true, checks whether you have the required permissions to perform the action. -
UserName
: (optional) The name of the EIM user the access key you want to delete is associated with. By default, the user who sends the request (which can be the root account).
The DeleteAccessKey command returns the following elements:
-
ResponseContext
: Information about the context of the response.-
RequestId
: The ID of the request.
-
{
"ResponseContext": {
"RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
}
}
Pages connexes
Méthodes API correspondantes