mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-03 20:54:29 -07:00
Added more auth capabilities
This commit is contained in:
parent
2679d724c3
commit
d46df5eb00
3 changed files with 49 additions and 3 deletions
|
@ -12,7 +12,7 @@ author:
|
|||
short_description: Retrieve secrets from GCP Secret Manager
|
||||
requirements:
|
||||
- python >= 2.7
|
||||
- google-auth >= 1.3.0
|
||||
- google-auth >= 1.26.0
|
||||
- google-cloud-secret-manager >= 1.0.0
|
||||
description:
|
||||
- Retrieve secret contents from GCP Secret Manager.
|
||||
|
@ -33,6 +33,12 @@ options:
|
|||
type: str
|
||||
env:
|
||||
- name: GCP_PROJECT
|
||||
access_token:
|
||||
description:
|
||||
- The Google Cloud access token. If specified, C(service_account_file) will be ignored.
|
||||
type: path
|
||||
env:
|
||||
- name: GCP_ACCESS_TOKEN
|
||||
service_account_file:
|
||||
description:
|
||||
- The path of a Service Account JSON file if serviceaccount is selected as type.
|
||||
|
|
|
@ -12,7 +12,7 @@ author:
|
|||
short_description: Retrieve resource id of secret version from GCP Secret Manager
|
||||
requirements:
|
||||
- python >= 2.7
|
||||
- google-auth >= 1.3.0
|
||||
- google-auth >= 1.26.0
|
||||
- google-cloud-secret-manager >= 1.0.0
|
||||
description:
|
||||
- Retrieve resource id of secret version from GCP Secret Manager.
|
||||
|
@ -32,6 +32,12 @@ options:
|
|||
type: str
|
||||
env:
|
||||
- name: GCP_PROJECT
|
||||
access_token:
|
||||
description:
|
||||
- The Google Cloud access token. If specified, C(service_account_file) will be ignored.
|
||||
type: path
|
||||
env:
|
||||
- name: GCP_ACCESS_TOKEN
|
||||
service_account_file:
|
||||
description:
|
||||
- The path of a Service Account JSON file if serviceaccount is selected as type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue