Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,199 for _user (0.02 seconds)

  1. tests/test_security_scopes.py

            call_counter["count"] += 1
            return f"db_{call_counter['count']}"
    
        def get_user(db: Annotated[str, Depends(get_db)]):
            return "user"
    
        app = FastAPI()
    
        @app.get("/")
        def endpoint(
            db: Annotated[str, Depends(get_db)],
            user: Annotated[str, Security(get_user, scopes=["read"])],
        ):
            return {"db": db}
    
        return app
    
    
    @pytest.fixture(name="client")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1006 bytes
    - Click Count (0)
  2. cmd/peer-rest-common.go

    )
    
    const (
    	peerRESTBucket          = "bucket"
    	peerRESTBuckets         = "buckets"
    	peerRESTUser            = "user"
    	peerRESTGroup           = "group"
    	peerRESTUserTemp        = "user-temp"
    	peerRESTPolicy          = "policy"
    	peerRESTUserOrGroup     = "user-or-group"
    	peerRESTUserType        = "user-type"
    	peerRESTIsGroup         = "is-group"
    	peerRESTSignal          = "signal"
    	peerRESTSubSys          = "sub-sys"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 09 16:58:30 GMT 2024
    - 3K bytes
    - Click Count (0)
  3. cmd/testdata/config/2.yaml

    version: v1
    address: ':9000'
    console-address: ':9001'
    certs-dir: '/home/user/.minio/certs/'
    pools: # Specify the nodes and drives with pools
      -
            - 'https://server-example-pool1:9000/mnt/disk{1...4}/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 869 bytes
    - Click Count (0)
  4. helm-releases/minio-5.0.14.tgz

    echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Sep 30 20:46:10 GMT 2023
    - 20.6K bytes
    - Click Count (0)
  5. helm-releases/minio-5.0.15.tgz

    echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 12 18:18:57 GMT 2024
    - 20.8K bytes
    - Click Count (0)
  6. helm-releases/minio-5.0.3.tgz

    echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Dec 19 08:53:02 GMT 2022
    - 20.3K bytes
    - Click Count (0)
  7. helm-releases/minio-5.0.4.tgz

    echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 23 20:29:40 GMT 2022
    - 20.3K bytes
    - Click Count (0)
  8. helm-releases/minio-5.0.5.tgz

    echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 03 20:54:02 GMT 2023
    - 20.3K bytes
    - Click Count (0)
  9. helm-releases/minio-3.5.0.tgz

    active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 02 00:16:41 GMT 2022
    - 15.2K bytes
    - Click Count (0)
  10. helm-releases/minio-3.5.1.tgz

    active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 04 22:54:20 GMT 2022
    - 15.4K bytes
    - Click Count (0)
Back to Top