Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HashiCorp Vault AWS API

AWS dynamic credentials secrets engine

HashiCorp Vault AWS API is one of 28 APIs that HashiCorp Vault publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 4 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://vault.example.com/v1.

4 operations 2 paths 2 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://vault.example.com/v1/sys
Authentication
API Key
Resource Areas
1

Authentication & Security 1

HashiCorp Vault AWS API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-Vault-Token (vaultToken). By default, every request must be authenticated.

  • vaultToken — Vault authentication token

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

AWS 4

AWS dynamic credentials secrets engine

GET
/aws/creds/{name}
HashiCorp Vault Generate AWS credentials
generateAwsCredentials 1 param → 200403
GET
/aws/roles/{name}
HashiCorp Vault Read AWS role
readAwsRole 1 param → 200404
POST
/aws/roles/{name}
HashiCorp Vault Create or update AWS role
createOrUpdateAwsRole 1 param body → 204400
DELETE
/aws/roles/{name}
HashiCorp Vault Delete AWS role
deleteAwsRole 1 param → 204

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are AwsRole (6 properties), AwsCredentialsResponse (4 properties). Each schema is shown below with its type and property counts.

AwsRole
object
6 properties
AwsCredentialsResponse
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hvault-aws-api-openapi.yml Raw ↑

Other APIs HashiCorp Vault publishes across the network.

HashiCorp Vault AppRole API
HashiCorp Vault Audit API
HashiCorp Vault Auth API
HashiCorp Vault Configuration API
HashiCorp Vault Database API
HashiCorp Vault Entity Alias API
HashiCorp Vault Entity API
HashiCorp Vault GitHub API
HashiCorp Vault Group Alias API
HashiCorp Vault Group API
HashiCorp Vault Health API
HashiCorp Vault Init API