ansible-collections / ansible-collections/google.cloud
Add support for info module to describe GCP Secret Manager - List secrets and versions metadata
- Dominant language
- Python
- Stars
- 105
- Forks
- 144
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 4
Description
##### SUMMARY
Add support for info module to describe GCP Secret Manager to list secrets and versions metadata
**NOTE**: The intention is not to list the secret payloads - it is only for listing metadata.
##### ISSUE TYPE
- Feature Idea
##### COMPONENT NAME
module: `gcp_secretmanager_info`
##### ADDITIONAL INFORMATION
This info module can be used to obtain a list of secrets and the associated versions metadata in a GCP Project.
```yaml
- hosts: localhost
vars:
project_number: 111111111111
auth_kind: application
tasks:
- name: List secrets info
gcp_secretmanager_info:
project: '{{ project_id }}'
auth_kind: '{{ auth_kind }}'
register: reg_secrets_info
- name: Print secrets metadata
debug:
var: reg_secrets_info
```
Contributor guide
Research direction
Start from the proposed gcp_secretmanager_info module and the YAML playbook in the issue. Define the returned shape for secret and version metadata, verify that secret payloads are excluded, and check the result against a GCP project containing secrets and versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, google-cloud, python
- Domain
- cloud, devops, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100