Skip to content

Commit

Permalink
Merge pull request #87 from rebuy-de/add-vault-get-client
Browse files Browse the repository at this point in the history
Add GetClient to vaultutil
  • Loading branch information
der-eismann authored Nov 12, 2021
2 parents cd8a590 + 80792b4 commit 64775ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/vaultutil/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ func Init(ctx context.Context, params Params) (*Manager, error) {
}, nil
}

func (m *Manager) GetClient() *api.Client {
return m.client
}

func (m *Manager) AWSConfig(ctx context.Context) (*aws.Config, error) {
var (
provider = m.AWSCredentialsProvider()
Expand Down

0 comments on commit 64775ed

Please sign in to comment.