Files
vault/website/source/docs/agent/autoauth/methods/cert.md
Travis Cosgrave f250d779e0 Add certificate auto-auth method to vault agent (#6652)
* adding auto auth for cert auth methods

* Adding Docs for Cert Auto-auth method

* fixes errors in docs

* wrong documentation title

* repariting a few typos in the docs and being very clear about where the certificates should be configured

* clarifying the name parameter documentation

* Fixes gofmt issues in command/agent.go

* Fix typo in docs

* Add nil check to Config for cert auto-auth and add test with and without a specified name
2019-05-06 10:39:27 -04:00

23 lines
884 B
Markdown

---
layout: "docs"
page_title: "Vault Agent Auto-Auth Cert Method"
sidebar_title: "Cert"
sidebar_current: "docs-agent-autoauth-methods-cert"
description: |-
Cert Method for Vault Agent Auto-Auth
---
# 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
* `name` `(string: optional)` - The trusted certificate role which should be used
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).