Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Make the credential field optional #105

Merged
merged 3 commits into from
Sep 7, 2020

Conversation

Marton6
Copy link
Member

@Marton6 Marton6 commented Aug 4, 2020

This PR makes providing the SecretHub credential optional.

If it is not provided, the client will be constructed without any options, therefore detecting the credential in the same way the CLI does.

In case no credential is found, the provider fails early instead of using an unauthenticated client.

secrethub/provider.go Outdated Show resolved Hide resolved
secrethub/provider.go Outdated Show resolved Hide resolved
secrethub/provider.go Outdated Show resolved Hide resolved
@Marton6 Marton6 merged commit 5599fad into develop Sep 7, 2020
@florisvdg florisvdg deleted the feature/optional-credential-field branch September 7, 2020 14:06
@SimonBarendse SimonBarendse mentioned this pull request Sep 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants