https://github.com/techascent/tech.io.azure
azure bindings for tech.io
https://github.com/techascent/tech.io.azure
Last synced: 4 months ago
JSON representation
azure bindings for tech.io
- Host: GitHub
- URL: https://github.com/techascent/tech.io.azure
- Owner: techascent
- License: epl-2.0
- Created: 2019-06-25T17:10:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T23:20:33.000Z (almost 4 years ago)
- Last Synced: 2024-08-05T17:06:45.058Z (almost 2 years ago)
- Language: Clojure
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tech.io.azure
Azure bindings for tech.io
## Usage
You can turn vault auth on or off in the main io config:
* [io configuration](https://github.com/techascent/tech.io/blob/master/resources/io-config.edn)
You can choose the vault key here:
* [configuration](resources/azure-io-config.edn)
If you don't want to use vault or if you want to export environment variables to
you environment (in a docker scenario, for instance), the system will look for:
* `AZURE_BLOB_ACCOUNT_NAME` - name of the account.
* `AZURE_BLOB_ACCOUNT_KEY` - key of the account.
The shape of the vault entry must be:
```console
chrisn@chrisn-lt-2:~/dev/tech.all/tech.io.azure$ vault read "techascent/test-azure-access"
Key Value
--- -----
refresh_interval 768h
azure-blob-account-key your-key-base-64-encoded==
azure-blob-account-name your-account-name
```
All io functions work. See [test](test/tech/io/azure/blob_test.clj).
## License
Copyright © 2019 TechAscent, LLC