Getting Information About Your Access Keys
You can get information about one or more access keys and a list of the access keys with their corresponding information associated with your account.
Getting Information About Your Access Keys Using Cockpit v2
-
In the top right corner, click your initials.
A drop-down menu appears. -
Click
Access Keys.
The PASSWORD CONFIRMATION dialog box appears. -
Enter your current password and click Submit.
The list of your access keys appears.
Getting Information About Your Access Keys Using Cockpit v1
-
Hover over your name.
A drop-down menu appears. -
Click Personal Information and Access keys .
A page with your account details appears. -
Click Access keys.
The PASSWORD CONFIRMATION dialog box appears. -
Enter your current password and click Confirm.
The list of your access keys appears.You can click View to display a QR code that contains the access key ID and the secret key.
Getting Information About Your Access Keys Using OSC CLI
Before you begin: See Installing and Configuring OSC CLI to set up OSC CLI. |
To list your access keys, use the ListAccessKeys command following this syntax:
$ osc-cli icu ListAccessKeys \
--authentication-method password \
--login email@user.com \
--password XXXXXXXX
This command contains the following attributes that you need to specify:
-
authentication-method
: The method of connection (here,password
). -
login
: The email address of the account. -
password
: The password of the account.
$ osc-cli icu ListAccessKeys
-
The ListAccessKeys command returns the following elements:
-
accessKeys
: A list of access keys. This element contains the following information:-
status
: The state of the access key (ACTIVE
if the key is valid for API calls, orINACTIVE
if not). -
tags
: The tags associated to the resource. -
createDate
: The date and time of creation of the access key. -
accessKeyId
: The ID of the access key. -
secretAccessKey
: The secret key corresponding to the access key. -
expirationDate
: The expiration date of the access key. -
touchDate
: The date and time of last modification of the access key. -
ownerId
: The account ID of the owner of the access key.
-
-
marker
: The marker to request the next results page. -
isTruncated
: Iftrue
, there are more items to return using the marker in a new request. -
ResponseMetadata
: Information about the response. This element contains the following information:-
RequestId
: The ID of the request.
-
-
{
"accessKeys": [
{
"status": "ACTIVE",
"tags": "EXAMPLE",
"createDate": "2018-01-01T11:30:27.000Z",
"accessKeyId": "EXAMPLEXXXXXXXXXXXXX",
"secretAccessKey": "EXAMPLEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"expirationDate": "2019-01-01T11:30:27.000Z",
"touchDate": "2018-01-01T11:30:27.000Z",
"ownerId": "123456789012"
}
],
"marker": null,
"isTruncated": false,
"ResponseMetadata": {
"RequestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
Related Pages
Corresponding API Methods
AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.