{"id":22440084,"url":"https://github.com/lfaoro/auricvault","last_synced_at":"2025-08-01T17:31:15.527Z","repository":{"id":57585913,"uuid":"139979358","full_name":"lfaoro/auricvault","owner":"lfaoro","description":"Simple Go-API used to store sensitive data using the AuricVault PCI/HIPAA compliant encryption service.","archived":false,"fork":false,"pushed_at":"2018-07-18T12:07:02.000Z","size":881,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T11:58:47.490Z","etag":null,"topics":["auricvault","data-security","tokenization"],"latest_commit_sha":null,"homepage":"https://www.auricsystems.com/auricvault/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfaoro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-06T12:01:57.000Z","updated_at":"2019-09-09T20:49:36.000Z","dependencies_parsed_at":"2022-09-12T10:41:26.371Z","dependency_job_id":null,"html_url":"https://github.com/lfaoro/auricvault","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfaoro%2Fauricvault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfaoro%2Fauricvault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfaoro%2Fauricvault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfaoro%2Fauricvault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfaoro","download_url":"https://codeload.github.com/lfaoro/auricvault/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228393468,"owners_count":17912865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auricvault","data-security","tokenization"],"created_at":"2024-12-06T01:16:57.024Z","updated_at":"2024-12-06T01:16:58.083Z","avatar_url":"https://github.com/lfaoro.png","language":"Go","readme":"# AuricVault API library\n\n🔐 Simple Go-API useful to store sensitive data using the AuricVault PCI/HIPAA compliant encryption service.\n\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/lfaoro/creditcard)](https://goreportcard.com/report/github.com/lfaoro/auricvault)\n[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/lfaoro/auricvault)\n\n## Installation\n```bash\n$ go get -u github.com/lfaoro/auricvault\n```\n\n```go\nimport \"github.com/lfaoro/auricvault\"\n```\n\n## Quick start\n```bash\n# Provide a .env file in your project with the following variables or export them.\n# the .env file will be automatically parsed.\n$ cat \u003e .env \u003c\u003c EOF\nAURIC_URL=\"https://vault01.auricsystems.com/vault/v2/\"\nAURIC_URL2=\"https://vault02.auricsystems.com/vault/v2/\" # optional\nAURIC_CONFIGURATION=\"\"\nAURIC_MTID=\"\"\nAURIC_MTID_SECRET=\"\"\nAURIC_SEGMENT=\"\"\nEOF\n```\n\n```go\n// Instance a new Vault, choose the retention period\nvault := auricvault.New(auricvault.Forever)\n\n// If you want to see Debug information\nauricvault.SetDebug()\n\ndata := \"VISA,475055XXXX314032,0818\"\n\n// Encrypt using an auto-generated token\ntoken, err := vault.Encrypt(data)\nif err != nil {\n    log.Fatal(err)\n}\nfmt.Println(\"token: \", token)\n\n// Encrypt using your own token\ntoken, err := vault.Encrypt(data, \"khR8pew41q0URCxtivea\")\nif err != nil {\n    log.Fatal(err)\n}\nfmt.Println(\"token: \", token)\n\n// Retrieve the string data from the vault using the token\ndata, err := vault.Decrypt(\"khR8pew41q0URCxtivea\")\nif err != nil {\n    log.Fatal(err)\n}\nfmt.Println(data)\n```\n\n## Disclaimer\nSome AuricVault API features and settings have been omitted in favor of simplicity. If you require any of the omitted features implemented, please open an [issue](https://github.com/lfaoro/auricvault/issues/new).\n\n# Contibuting\n\u003e Any help and suggestions are very welcome and appreciated. Start by opening an [issue](https://github.com/lfaoro/auricvault/issues/new).\n\n- Fork the project\n- Create your feature branch `git checkout -b my-new-feature`\n- Commit your changes `git commit -am 'Add my feature'`\n- Push to the branch `git push origin my-new-feature`\n- Create a new pull request against the master branch\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfaoro%2Fauricvault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfaoro%2Fauricvault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfaoro%2Fauricvault/lists"}