redhat-cop / redhat-cop/infra.controller_configuration
Make filetree_create capable of exporting credential_input_sources
Nobody has claimed this yet.
- Dominant language
- YAML
- Stars
- 8
- Forks
- 21
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
Is your feature request related to a problem? Please describe.
Not sure if it is intended or not, but filetree_create does not export associated credential_input_sources when exporting credentials. Interesting enough, filetree_read is capable of ingesting credential input sources.
Describe the solution you'd like
filetree_create should also export credential_input_sources that are associated to the credentials that it exports.
Our use case is that we are moving teams over from one aap instance to another. Most teams are not using IaC, but nearly all are the cyberark credential provider. So we are using this role to hydrate the new instance.
Describe alternatives you've considered
I've considered writing my own playbook that uses the API to export credential input sources that then formats the result in the controller_credential_input_sources format.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the filetree_create and filetree_read entry points, focusing on how credential_input_sources are handled. The work is complete when filetree_create exports the sources associated with exported credentials in a format that filetree_read can ingest for the stated migration use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100