Update ansible.mdx

This commit is contained in:
Daniel Hougaard
2025-08-28 21:20:00 +02:00
parent bc4885b098
commit 1159b74bdb
+2 -2
View File
@@ -46,7 +46,7 @@ The Infisical Ansible Collection supports [Universal Auth](/documentation/platfo
To use Universal Auth, you need to provide the Client ID and Client Secret of your Infisical Machine Identity. To use Universal Auth, you need to provide the Client ID and Client Secret of your Infisical Machine Identity.
```yaml ```yaml
lookup('infisical.vault.read_secrets', auth_method="universal-auth" universal_auth_client_id='<client-id>', universal_auth_client_secret='<client-secret>' ...rest) lookup('infisical.vault.read_secrets', auth_method="universal-auth", universal_auth_client_id='<client-id>', universal_auth_client_secret='<client-secret>' ...rest)
``` ```
You can also provide the `auth_method`, `universal_auth_client_id`, and `universal_auth_client_secret` parameters through environment variables: You can also provide the `auth_method`, `universal_auth_client_id`, and `universal_auth_client_secret` parameters through environment variables:
@@ -66,7 +66,7 @@ The Infisical Ansible Collection supports [Universal Auth](/documentation/platfo
</Note> </Note>
```yaml ```yaml
lookup('infisical.vault.read_secrets', auth_method="oidc-auth" identity_id='<identity-id>', jwt='<oidc-jwt>' ...rest) lookup('infisical.vault.read_secrets', auth_method="oidc-auth", identity_id='<identity-id>', jwt='<oidc-jwt>' ...rest)
``` ```
You can also provide the `auth_method`, `identity_id`, and `jwt` parameters through environment variables: You can also provide the `auth_method`, `identity_id`, and `jwt` parameters through environment variables: