Protected
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.
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 importconst 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// },// ],// };
ListAccessKeysCommandInput
ListAccessKeysCommandOutput
input
response
config
AccessDeniedException (client fault)
ProductUnavailableException (client fault)
ResourceAlreadyExistsException (client fault)
ResourceNotFoundException (client fault)
ResourceUnderChangeException (client fault)
ServiceException (server fault)
IdentityServiceException
Base exception class for all service exceptions from Identity service.
Readonly
Static
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.
Param
ListAccessKeysCommandInput
Returns
ListAccessKeysCommandOutput
See
input
shape.response
shape.config
shape.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.