Open woodham1 opened 1 week ago
Thank you for contribution!✨
The docs for this PR have been published here: https://ansible-collections.github.io/community.hashi_vault/pr/442
You can compare to the docs for the main
branch here:
https://ansible-collections.github.io/community.hashi_vault/branch/main
The docsite for this PR is also available for download as an artifact from this run: https://github.com/ansible-collections/community.hashi_vault/actions/runs/9718170291
File changes:
M
collections/community/hashi_vault/hashi_vault_lookup.htmlM
collections/community/hashi_vault/vault_database_connection_configure_module.htmlM
collections/community/hashi_vault/vault_database_connection_delete_module.htmlM
collections/community/hashi_vault/vault_database_connection_read_module.htmlM
collections/community/hashi_vault/vault_database_connection_reset_module.htmlM
collections/community/hashi_vault/vault_database_connections_list_module.htmlM
collections/community/hashi_vault/vault_database_role_create_module.htmlM
collections/community/hashi_vault/vault_database_role_delete_module.htmlM
collections/community/hashi_vault/vault_database_role_read_module.htmlM
collections/community/hashi_vault/vault_database_roles_list_module.htmlM
collections/community/hashi_vault/vault_database_rotate_root_credentials_module.htmlM
collections/community/hashi_vault/vault_database_static_role_create_module.htmlM
collections/community/hashi_vault/vault_database_static_role_get_credentials_module.htmlM
collections/community/hashi_vault/vault_database_static_role_read_module.htmlM
collections/community/hashi_vault/vault_database_static_role_rotate_credentials_module.htmlM
collections/community/hashi_vault/vault_database_static_roles_list_module.htmlM
collections/community/hashi_vault/vault_kv1_get_lookup.htmlM
collections/community/hashi_vault/vault_kv1_get_module.htmlM
collections/community/hashi_vault/vault_kv2_delete_module.htmlM
collections/community/hashi_vault/vault_kv2_get_lookup.htmlM
collections/community/hashi_vault/vault_kv2_get_module.htmlM
collections/community/hashi_vault/vault_kv2_write_module.htmlM
collections/community/hashi_vault/vault_list_lookup.htmlM
collections/community/hashi_vault/vault_list_module.htmlM
collections/community/hashi_vault/vault_login_lookup.htmlM
collections/community/hashi_vault/vault_login_module.htmlM
collections/community/hashi_vault/vault_pki_generate_certificate_module.htmlM
collections/community/hashi_vault/vault_read_lookup.htmlM
collections/community/hashi_vault/vault_read_module.htmlM
collections/community/hashi_vault/vault_token_create_lookup.htmlM
collections/community/hashi_vault/vault_token_create_module.htmlM
collections/community/hashi_vault/vault_write_lookup.htmlM
collections/community/hashi_vault/vault_write_module.html
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
@@ -970,6 +971,12 @@ examples: lookup('c
ansible.builtin.debug:
msg: "{{ lookup('community.hashi_vault.hashi_vault', 'secret/hola:val', auth_method='jwt', role_id='myroleid', jwt='myjwt', url='https://vault:8200') }}"
+#GCP auth
+
+- name: Authenticate with GCP
+ ansible.builtin.debug:
+ msg: "{{ lookup('community.hashi_vault.hashi_vault', 'secret/hola:val', auth_method='gcp', role_id='myroleid', jwt='myjwt', url='https://vault:8200') }}"
+
# Disabling Token Validation
# Use this when your token does not have the lookup-self capability. Usually this is applied to all tokens via the default policy.
# However you can choose to create tokens without applying the default policy, or you can modify your default policy not to include it.
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_database_connection_configure_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_database_connection_configure_module.html
index 32aa53d..dbccefe 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_database_connection_configure_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_database_connection_configure_module.html
@@ -199,6 +199,7 @@ see "azure"
"jwt"
"cert"
+"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_kv1_get_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_kv1_get_module.html
index 550d56b..63e0f73 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_kv1_get_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_kv1_get_module.html
@@ -193,6 +193,7 @@ see "azure"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_kv2_get_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_kv2_get_module.html
index a00b005..d23155e 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_kv2_get_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_kv2_get_module.html
@@ -193,6 +193,7 @@ see "azure"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_list_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_list_module.html
index 6bb62f6..b139e66 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_list_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_list_module.html
@@ -193,6 +193,7 @@ see "azure"
"jwt"
"cert"
"gcp"
"none"
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_login_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_login_module.html
index 1c11b01..c38bf46 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_login_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_login_module.html
@@ -194,6 +194,7 @@ see "azure"
"jwt"
"cert"
"gcp"
"none"
"jwt"
"cert"
"gcp"
"none"
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_read_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_read_module.html
index fa7df71..faedfdd 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_read_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_read_module.html
@@ -193,6 +193,7 @@ see "azure"
"jwt"
"cert"
"gcp"
"none"
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_token_create_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_token_create_module.html
index ea61115..15ca96a 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_token_create_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_token_create_module.html
@@ -194,6 +194,7 @@ see "azure"
"jwt"
"cert"
"gcp"
"none"
lookup('c
"azure"
"jwt"
"cert"
+"gcp"
"none"
Configuration:
diff --git a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_write_module.html b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_write_module.html
index 0deb113..5a54159 100644
--- a/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/base/collections/community/hashi_vault/vault_write_module.html
+++ b/home/runner/work/community.hashi_vault/community.hashi_vault/docsbuild/head/collections/community/hashi_vault/vault_write_module.html
@@ -194,6 +194,7 @@ see "azure"
"jwt"
"cert"
"gcp"
"none"
@briantist I can't get the devel unit test error to reproduce on my system, I think I'm close here, but I'd love some guidance to get me over the finish line.
@briantist I can't get the devel unit test error to reproduce on my system, I think I'm close here, but I'd love some guidance to get me over the finish line
It's failing on main
too so I think it's completely unrelated to your PR, we'll have to get a fix merged in separately (also I need to fix the docs builds)
https://github.com/ansible-collections/community.hashi_vault/actions/runs/9795725759/job/27048587480
SUMMARY
The following plugin adds gcp as an auth method.
ISSUE TYPE
COMPONENT NAME
auth_method_gcp
ADDITIONAL INFORMATION
Before:
After: