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

Add in memory keyring. #80

Merged
merged 1 commit into from
Oct 11, 2021
Merged

Conversation

mikewilson-dd
Copy link
Contributor

@mikewilson-dd mikewilson-dd commented Mar 26, 2021

An in-memory only keyring has been added. This will be useful for us because
we have command line tools that we want to store longer term state in
something like the OSX keychain, but later we may wish to automate the utility
in a more transient, ephemeral way. In that case, the memory store will store
the data for the duration of the run and recreate them on subsequent runs.

I've additionally refactored slightly and added in a test for an Item.Equals
function.

Note: I've tested this against vagrant and using the CLI, but it's not particularly useful outside of use as a library.

An in-memory only keyring has been added. This will be useful for us because
we have command line tools that we want to store longer term state in
something like the OSX keychain, but later we may wish to automate the utility
in a more transient, ephemeral way. In that case, the memory store will store
the data for the duration of the run and recreate them on subsequent runs.

I've additionally refactored slightly and added in a test for an Item.Equals
function.
@mikewilson-dd
Copy link
Contributor Author

@mtibben Do you mind taking a look at this? This is a relatively straightforward PR.

@mtibben
Copy link
Member

mtibben commented Oct 11, 2021

Thanks for the contribution @mikewilson-dd

@mtibben mtibben merged commit b50c01a into 99designs:master Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants