Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewSTSClientGrants (0.07 sec)

  1. docs/sts/client-grants.go

    }
    
    func main() {
    	flag.Parse()
    	if clientID == "" || clientSecret == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	sts, err := credentials.NewSTSClientGrants(stsEndpoint, getTokenExpiry)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// Uncomment this to use MinIO API operations by initializing minio
    	// client with obtained credentials.
    
    	opts := &minio.Options{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top