saltstack / saltstack/salt

[FEATURE REQUEST] Prompt for Provider ID, Secret

Open
#63,080 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature needs-triage Salt-Cloud
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Is your feature request related to a problem? Please describe.

Provider ID, Secret etc aren't encrypted. If its not provided in the config then salt-cloud should prompt.

ec2-private:
  minion:
    master: 10.10.10.10
  # id: 'xxxxxxxxxxxxxxxx'                   
  # key: 'xxxxxxxxxxxxxxxx'  
  private_key: /etc/salt/test.pem
  keyname: test
  ssh_interface: private_ips
  driver: ec2

If Commented out then I get the following error instead of prompt.

[ERROR ] There was a profile error: 'ec2-test-public'

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 tracing salt-cloud's EC2 provider profile handling and the path that produces the reported profile error when id or key is absent. Verify the behavior with the configuration example in the issue: missing Provider ID and Secret should trigger a prompt rather than the profile error, while supplied values should continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.