Returns information about the access key IDs associated with the specified Machine User. If there is none, the operation returns an empty list.

To ensure the security of your account, the secret access key is accessible only during key and user creation.

Example

Use a bare-bones client and the command you need to make an API call.

import { IdentityClient, ListAccessKeysCommand } from "@stedi/sdk-client-identity"; // ES Modules import
// const { IdentityClient, ListAccessKeysCommand } = require("@stedi/sdk-client-identity"); // CommonJS import
const client = new IdentityClient(config);
const input = { // ListAccessKeysInput
machineUserName: "STRING_VALUE",
};
const command = new ListAccessKeysCommand(input);
const response = await client.send(command);
// { // ListAccessKeysOutput
// items: [ // AccessKeyItems
// { // AccessKeyItem
// accessKeyId: "STRING_VALUE", // required
// createDate: new Date("TIMESTAMP"), // required
// status: "Active" || "Inactive", // required
// },
// ],
// };

Param

ListAccessKeysCommandInput

Returns

ListAccessKeysCommandOutput

See

Throws

AccessDeniedException (client fault)

Throws

ProductUnavailableException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

IdentityServiceException

Base exception class for all service exceptions from Identity service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions