-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from hairyhenderson/improve-package-docs
Improve some package docs
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Package awssmfs provides an interface to AWS Secrets Manager which allows you | ||
// to interact with the Secrets Manager API as a standard filesystem. | ||
// | ||
// This filesystem's behaviour complies with fstest.TestFS. | ||
// | ||
// Usage | ||
// | ||
// To use this filesystem, call New with a base URL. All reads from the | ||
// filesystem are relative to this base URL. Only the scheme "aws+sm" is | ||
// supported. The URL may be an opaque URI (with no leading "/" in the path), in | ||
// which case secrets with names starting with "/" are ignored. If the URL path | ||
// does begin with "/", secrets with names not starting with "/" are instead | ||
// ignored. | ||
// | ||
// To scope the filesystem to a specific path, use that path on the URL. For | ||
// example, for a filesystem that can only read secrets with names starting with | ||
// "/prod/foo/", you would use a URL like: | ||
// | ||
// aws+sm:///prod/foo/ | ||
// | ||
// And for a filesystem that can only read secrets with names starting with | ||
// "prod/bar/", you would use the following opaque URI: | ||
// | ||
// aws+sm:prod/bar/ | ||
// | ||
// Configuration | ||
// | ||
// The AWS Secrets Manager client is configured using the default credential | ||
// chain (see https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/#specifying-credentials | ||
// for more information). | ||
// | ||
// If you require more customized configuration, you can override the default | ||
// client with the WithSMClientFS function. | ||
// | ||
package awssmfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Package blobfs provides an interface to blob stores such as Google Cloud | ||
// Storage, Azure Blob Storage, or AWS S3, allowing you to interact with the | ||
// store as a standard filesystem. | ||
// | ||
// This filesystem's behaviour complies with fstest.TestFS. | ||
// | ||
// Usage | ||
// | ||
// To use this filesystem, call New with a base URL. All reads from the | ||
// filesystem are relative to this base URL. The schemes "s3", "gs", and "azblob" | ||
// are supported. | ||
package blobfs |