2019-05-06 14:39:28 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: Vault Agent Auto-Auth Cert Method
|
|
|
|
sidebar_title: Cert
|
|
|
|
description: Cert Method for Vault Agent Auto-Auth
|
2019-05-06 14:39:28 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Vault Agent Auto-Auth Cert Method
|
|
|
|
|
|
|
|
The `cert` method uses the configured TLS certificates from the `vault` stanza of
|
|
|
|
the agent configuration and takes an optional `name` parameter. There is no option
|
|
|
|
to use certificates which differ from those used in the `vault` stanza.
|
|
|
|
|
|
|
|
See TLS settings in the [`vault` Stanza](https://vaultproject.io/docs/agent/index.html#vault-stanza)
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
2020-01-18 00:18:09 +00:00
|
|
|
- `name` `(string: optional)` - The trusted certificate role which should be used
|
2019-05-06 14:39:28 +00:00
|
|
|
when authenticating with TLS. If a `name` is not specified, the auth method will
|
|
|
|
try to authenticate against [all trusted certificates](https://www.vaultproject.io/docs/auth/cert.html#authentication).
|