access_key = dbutils.secrets。得到(=“aws”範圍,鍵=“aws-access-key”) secret_key = dbutils.secrets。得到(=“aws”範圍,鍵=“aws-secret-key”) encoded_secret_key = secret_key。替換(“/”、“% 2 f”) aws_bucket_name = < aws-bucket-name >“mount_name = dbutils.fs“< mount-name >”。山(f”s3a: / / {access_key}: {encoded_secret_key} @ {aws_bucket_name}”, f“/ mnt / {mount_name}”)顯示(dbutils.fs.ls (f / mnt / {mount_name}))