Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 444 for Credentials (0.27 sec)

  1. okhttp/src/main/kotlin/okhttp3/Credentials.kt

     */
    package okhttp3
    
    import java.nio.charset.Charset
    import kotlin.text.Charsets.ISO_8859_1
    import okio.ByteString.Companion.encode
    
    /** Factory for HTTP authorization credentials. */
    object Credentials {
      /** Returns an auth credential for the Basic scheme. */
      @JvmStatic @JvmOverloads
      fun basic(
        username: String,
        password: String,
        charset: Charset = ISO_8859_1,
      ): String {
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    }
    
    // IsServiceAccount - returns whether credential is a service account or not
    func (cred Credentials) IsServiceAccount() bool {
    	_, ok := cred.Claims[iamPolicyClaimNameSA]
    	return cred.ParentUser != "" && ok
    }
    
    // IsValid - returns whether credential is valid or not.
    func (cred Credentials) IsValid() bool {
    	// Verify credentials if its enabled or not set.
    	if cred.Status == AccountOff {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Credentials.java

     */
    package jcifs;
    
    
    /**
     * Interface for opaque credential data
     * 
     * @author mbechler
     *
     */
    public interface Credentials {
    
        /**
         * 
         * @param type
         * @return instance for type, null if the type cannot be unwrapped
         */
        <T extends Credentials> T unwrap ( Class<T> type );
    
    
        /**
         * @return the domain the user account is in
         */
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  4. internal/auth/credentials_test.go

    		ccred          Credentials
    		expectedResult bool
    	}{
    		// Same Credentialss.
    		{cred, cred, true},
    		// Empty credentials to compare.
    		{cred, Credentials{}, false},
    		// Empty credentials.
    		{Credentials{}, cred, false},
    		// Two different credentialss
    		{cred, cred2, false},
    		// Access key is different in credentials to compare.
    		{cred, Credentials{AccessKey: "myuser", SecretKey: cred.SecretKey}, false},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. docs/sts/client-grants.md

    from the identity provider. The temporary security credentials returned by this API consists of an access key, a secret key, and a security token. Applications can use these temporary security credentials to sign calls to MinIO API operations.
    
    By default, the temporary security credentials created by AssumeRoleWithClientGrants last for one hour. However, use the optional DurationSeconds parameter to specify the duration of the credentials. This value varies from 900 seconds (15 minutes) up...
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  6. docs/sts/assume-role.go

    	"os"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	// Minio endpoint (for STS API)
    	stsEndpoint string
    
    	// User account credentials
    	minioUsername string
    	minioPassword string
    
    	// Display credentials flag
    	displayCreds bool
    
    	// Credential expiry duration
    	expiryDuration time.Duration
    
    	// Bucket to list
    	bucketToList string
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  7. docs/sts/client_grants/__init__.py

                    status_forcelist=[500, 502, 503, 504]
                )
            )
    
        def load(self):
            """
            Search for credentials with client_grants
            """
            if self.cid is not None:
                fetcher = self._create_credentials_fetcher()
                return RefreshableCredentials.create_from_metadata(
                    metadata=fetcher(),
                    refresh_using=fetcher,
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  8. docs/sts/custom-token-identity.go

    	v, err := li.Get()
    	if err != nil {
    		log.Fatalf("Error retrieving STS credentials: %v", err)
    	}
    
    	if displayCreds {
    		fmt.Println("Only displaying credentials:")
    		fmt.Println("AccessKeyID:", v.AccessKeyID)
    		fmt.Println("SecretAccessKey:", v.SecretAccessKey)
    		fmt.Println("SessionToken:", v.SessionToken)
    		return
    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    			objectName:         objectName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Case with non-existent object name.
    		{
    			bucketName:         bucketName,
    			objectName:         "abcd",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. docs/sts/README.md

    MinIO Security Token Service (STS) is an endpoint service that enables clients to request temporary credentials for MinIO resources. Temporary credentials work almost identically to default admin credentials, with some differences:
    
    - Temporary credentials are short-term, as the name implies. They can be configured to last for anywhere from a few minutes to several hours. After the credentials expire, MinIO no longer recognizes them or allows any kind of access from API requests made with them....
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 7.8K bytes
    - Viewed (1)
Back to top