aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold/example.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-07-02 18:03:17 -0700
committerGitHub <noreply@github.com>2025-07-02 18:03:17 -0700
commit1db7c2b8aad59177f9ccb32f156908faf0c13eca (patch)
treeb1ea2df918591ab01822e3bd3ce08277825c47fb /weed/command/scaffold/example.go
parent6b706f9ccdf46046133c867c4240c4e8594da5b3 (diff)
downloadseaweedfs-1db7c2b8aad59177f9ccb32f156908faf0c13eca.tar.xz
seaweedfs-1db7c2b8aad59177f9ccb32f156908faf0c13eca.zip
Add credential storage (#6938)
* add credential store interface * load credential.toml * lint * create credentialManager with explicit store type * add type name * InitializeCredentialManager * remove unused functions * fix missing import * fix import * fix nil configuration
Diffstat (limited to 'weed/command/scaffold/example.go')
-rw-r--r--weed/command/scaffold/example.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/command/scaffold/example.go b/weed/command/scaffold/example.go
index 6be6804e5..26d0a306c 100644
--- a/weed/command/scaffold/example.go
+++ b/weed/command/scaffold/example.go
@@ -19,3 +19,6 @@ var Master string
//go:embed shell.toml
var Shell string
+
+//go:embed credential.toml
+var Credential string