From b27aa8541af3205a41674bf51fd084788389c164 Mon Sep 17 00:00:00 2001 From: Ryan Gniadek Date: Thu, 19 Sep 2024 16:29:32 -0400 Subject: [PATCH] Added an example credential with HashiCorp Vault source (#909) * Added an example credential with HashiCorp Vault source * Added additional information on source_credential and metadata fields * Added HashiCorp Vault example to credentials README --- roles/credential_input_sources/README.md | 27 ++++++++++++++++++++++-- roles/credentials/README.md | 9 ++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/roles/credential_input_sources/README.md b/roles/credential_input_sources/README.md index ad0975121..faf6318a5 100644 --- a/roles/credential_input_sources/README.md +++ b/roles/credential_input_sources/README.md @@ -78,12 +78,12 @@ This also speeds up the overall role. |:---:|:---:|:---:|:---:|:---:| |`target_credential`|""|yes|str|Name of credential to have the input source applied| |`input_field_name`|""|yes|str|Name of field which will be written by the input source| -|`source_credential`|""|no|str|Name of the source credential which points to a credential source| +|`source_credential`|""|no|str|Name of the source credential which points to an external secret lookup credential | |`metadata`|""|no|dict|The metadata applied to the source.| |`description`|""|no|str|Description to use for the credential input source.| |`state`|`present`|no|str|Desired state of the resource.| -For further details on fields see +For further details on fields see . The input accepted by the `metadata` field will differ depending on the credential plugin being used. ### Standard Credential Input Source Data Structure @@ -101,6 +101,19 @@ For further details on fields see