Create an API key.
Creates an API key for the authenticated current user after the required interactive confirmation supplied by the request. A user can have at most two listed keys. Creation completes before the response and does not establish a public expiry, renewal, or propagation-time contract.
Authorizations
OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header
Body
JSON request for the current user's API key. The request includes the required interactive confirmation.
Request to create an API key for the authenticated current user.
Derivitec.RiskPortal.Api.Models.CreateApiKeyModel, Derivitec.RiskPortal.Api Name to assign to the new API key. The value must not be null or empty.
"Reporting integration"
Description to assign to the new API key. The value must not be null or empty.
"Synthetic key for a reporting workflow."
Password confirmation supplied for the API-key creation request.
Multi-factor authentication confirmation supplied for the API-key creation request.
Response
Created
Client-facing API-key record returned by list and create operations.
Derivitec.Aws.ApiGateway.Models.DerivitecExposedApiKey, Derivitec.Aws.ApiGateway Opaque identifier used to select this API-key record.
Client-provided name assigned to the API key.
"Reporting integration"
API-key value returned with the client-facing record.