vault-auth-spire icon indicating copy to clipboard operation
vault-auth-spire copied to clipboard

Add Spire trustsource

Open pawalt opened this issue 5 years ago • 1 comments

This resolves #2

Describe your changes This PR adds support for using Spire servers as a trust source.

Testing performed Unit tests have been written in spiretrustsource_test.go

Additional context I moved the file trust source and this one to using afero to ease testing. I'm not particularly happy with how much code is repeated between tests, so I'm looking to refactor them with the suite package. EDIT: I refactored some code, and I think this is fine without using suite.

pawalt avatar Jan 02 '20 19:01 pawalt

I've added a second struct. Let me know what you think.

pawalt avatar Jan 25 '20 23:01 pawalt