Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable shield credentials for tests #5967

Merged
merged 1 commit into from
Jan 21, 2016

Conversation

epixa
Copy link
Contributor

@epixa epixa commented Jan 21, 2016

While there are still hardcoded defaults, this change allows people to
specify custom credentials via environment variables for each shield
role in our tests.

For #5562

While there are still hardcoded defaults, this change allows people to
specify custom credentials via environment variables for each shield
role in our tests.
@LeeDr
Copy link
Contributor

LeeDr commented Jan 21, 2016

@epixa my only comment is whether we should be calling this something like the 'elasticsearch.admin.username'?
or the 'shield.elasticsearch.username'
instead of 'shield.admin.username'

@LeeDr LeeDr assigned epixa and unassigned LeeDr Jan 21, 2016
@epixa
Copy link
Contributor Author

epixa commented Jan 21, 2016

I wanted the shield config itself to express the users and roles as they are configured in shield rather than how we may ultimately take advantage of them in our tests.

@LeeDr
Copy link
Contributor

LeeDr commented Jan 21, 2016

LGTM

epixa added a commit that referenced this pull request Jan 21, 2016
Configurable shield credentials for tests
@epixa epixa merged commit 7db9c91 into elastic:master Jan 21, 2016
@epixa epixa deleted the 5562-tests-with-shield branch January 21, 2016 19:46
@elasticsearch-bot
Copy link

courtewing merged this into the following branches!

Branch Commits
4.x 5e9df52

elasticsearch-bot pushed a commit that referenced this pull request Jan 21, 2016
While there are still hardcoded defaults, this change allows people to
specify custom credentials via environment variables for each shield
role in our tests.

Fixes #5967
@epixa epixa removed the v4.4.1 label Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants