Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewSTSClientGrants (0.26 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{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
Back to top