redhat-cop / redhat-cop/infra.controller_configuration

Make filetree_create capable of exporting credential_input_sources

Open
#52 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement new
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.