Giter VIP home page Giter VIP logo

engi-fyi / go-credentials Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 159 KB

This project was built out of a need for a library to manage credentials files (similar to AWS credentials), their attributes, sessions, and environment variables.

Home Page: https://go-credentials.engi.fyi/

License: MIT License

Makefile 0.28% Go 99.72%
golang credential-storage credential credentials credential-helper go credential-provider credential-management-api

go-credentials's People

Contributors

hammotime avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

go-credentials's Issues

Persist to file on every object write

Is your feature request related to a problem? Please describe.
When a structure is saved, it is not immediately persisted to file.

Describe the solution you'd like
There should be a flag in Factory that allows everything to be persisted immediately. As it is possible to use credentials without file-based settings at all, it is important that this isn't a global feature.

Respect alternates when saving credentials to file

Describe the bug
When saving credentials in the ini format, the keys for username and password are not set to their alternates in the file. This should also then be respected by LoadFromIniFile.

Expected behavior
Alternates are respected.

Do not export the Alternates value on a factory

Describe the bug
There are methods for getting and setting alternate labels for both username and password. The Alternates property no longer has a need to be exported.

Expected behavior
Alternates is only accessible via the Getter and Setter methods.

Initialize Factory when New method is called

Is your feature request related to a problem? Please describe.
A manual call to Initialize is currently required after creating a Factory object. This shouldn't be required.

Describe the solution you'd like
Initialize factory when New method is called

Additional context
While a user can change attributes then reinitialize the object, the initial creation should always initialize the Factory properly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.