- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MINIO_ENDPOINT (0.04 sec)
-
docs/site-replication/gen-oidc-sts-cred.go
// // Run like: // // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go import ( "context" "fmt" "log" "net/http" "os" cr "github.com/minio/minio-go/v7/pkg/credentials" cmd "github.com/minio/minio/cmd" ) func main() { ctx := context.Background() endpoint := os.Getenv("MINIO_ENDPOINT") if endpoint == "" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 29 01:27:09 UTC 2022 - 2.3K bytes - Viewed (0) -
docs/site-replication/run-multi-site-oidc.sh
echo "expecting the command to fail, exiting.." exit_1 fi ./mc admin policy create minio1 projecta ./docs/site-replication/rw.json sleep 5 # Generate STS credential with STS call to minio1 STS_CRED=$(MINIO_ENDPOINT=http://localhost:9001 go run ./docs/site-replication/gen-oidc-sts-cred.go) MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo if [ $? -ne 0 ]; then echo "Expected sts credential to work, exiting.." exit_1
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 8.5K bytes - Viewed (0)