Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for generates (0.25 sec)

  1. cmd/api-response.go

    // generates CopyObjectResponse from etag and lastModified time.
    func generateCopyObjectResponse(etag string, lastModified time.Time) CopyObjectResponse {
    	return CopyObjectResponse{
    		ETag:         "\"" + etag + "\"",
    		LastModified: amztime.ISO8601Format(lastModified.UTC()),
    	}
    }
    
    // generates CopyObjectPartResponse from etag and lastModified time.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. docs/site-replication/gen-oidc-sts-cred.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    // This programs mocks user interaction against Dex IDP and generates STS
    // credentials. It is for MinIO testing purposes only.
    //
    // Run like:
    //
    // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  3. internal/kms/kms.go

    	// GenerateKey generates a new data encryption key using the
    	// key referenced by the key ID.
    	//
    	// The KMS may use a default key if the key ID is empty.
    	// GenerateKey returns an error if the referenced key does
    	// not exist.
    	//
    	// The context is associated and tied to the generated DEK.
    	// The same context must be provided when the generated key
    	// should be decrypted. Therefore, it is the callers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. docs/sts/wso2.md

    WSO2 generates tokens in first style by default, but if to be used with MinIO we should configure WSO2 to provide JWT tokens instead.
    
    ### 3. Generate Self-contained Access Tokens
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  5. helm/minio/templates/_helpers.tpl

    secret: secretName: {{ $certSecret }} {{- if ne $publicCrt "" }} items: - key: {{ $publicCrt }} path: public.crt {{- end }} {{- end }} {{- end -}} {{/* Returns the available value for certain key in an existing secret (if it exists), otherwise it generates a random value. */}} {{- define "minio.getValueFromSecret" }} {{- $len := (default 16 .Length) | int -}} {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}} {{- if $obj }} {{- index $obj .Key | b64dec -}} {{- else -}} {{- randAlphaNum $len...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 6.5K bytes
    - Viewed (2)
  6. cmd/config-current.go

    			logger.Fatal(err, "Unable to generate root secret key using KMS")
    		}
    
    		accessKey, err := auth.GenerateAccessKey(20, bytes.NewReader(aKey))
    		if err != nil {
    			logger.Fatal(err, "Unable to generate root access key")
    		}
    		secretKey, err := auth.GenerateSecretKey(32, bytes.NewReader(sKey))
    		if err != nil {
    			logger.Fatal(err, "Unable to generate root secret key")
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    	if _, err := io.ReadFull(random, key); err != nil {
    		return "", err
    	}
    
    	s := base64.RawStdEncoding.EncodeToString(key)
    	return strings.ReplaceAll(s, "/", "+"), nil
    }
    
    // GetNewCredentialsWithMetadata generates and returns new credential with expiry.
    func GetNewCredentialsWithMetadata(m map[string]interface{}, tokenSecret string) (Credentials, error) {
    	accessKey, secretKey, err := GenerateCredentials()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. docs/security/README.md

    #### Randomness
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 13.8K bytes
    - Viewed (0)
  9. internal/kms/kes.go

    		NextFunc: c.client.ListKeys,
    	}, nil
    }
    
    // GenerateKey generates a new data encryption key using
    // the key at the KES server referenced by the key ID.
    //
    // The default key ID will be used if keyID is empty.
    //
    // The context is associated and tied to the generated DEK.
    // The same context must be provided when the generated
    // key should be decrypted.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. internal/crypto/key.go

    	mac := hmac.New(sha256.New, extKey)
    	mac.Write([]byte(Context))
    	mac.Write(nonce[:])
    	mac.Sum(key[:0])
    	return key
    }
    
    // GenerateIV generates a new random 256 bit IV from the provided source
    // of randomness. If random is nil the default PRNG of the system
    // (crypto/rand) is used.
    func GenerateIV(random io.Reader) (iv [32]byte) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if _, err := io.ReadFull(random, iv[:]); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top