# Configure an API account on Google Drive Configure a service account and retrieve its key in JSON format by following the steps mentioned here: [https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount](https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount). Provide at least one of the following scopes for each command. ### Commands and their scope * ***google-drive-create*** * https://www.googleapis.com/auth/drive * ***google-drive-activity-list*** * https://www.googleapis.com/auth/drive.activity * https://www.googleapis.com/auth/drive.activity.readonly * ***google-drive-changes-list*** * https://www.googleapis.com/auth/drive * https://www.googleapis.com/auth/drive.file * https://www.googleapis.com/auth/drive.readonly * https://www.googleapis.com/auth/drive.metadata.readonly * https://www.googleapis.com/auth/drive.appdata * https://www.googleapis.com/auth/drive.metadata * https://www.googleapis.com/auth/drive.photos.readonly * ***google-drive-drives-list*** * ***google-drive-drive-get*** * ***google-drive-drive-delete*** * https://www.googleapis.com/auth/drive * https://www.googleapis.com/auth/drive.readonly * ***google-drive-files-list*** * ***google-drive-file-get*** * ***google-drive-file-upload*** * ***google-drive-file-copy*** * ***google-drive-file-get-parents*** * https://www.googleapis.com/auth/drive * https://www.googleapis.com/auth/drive.file * https://www.googleapis.com/auth/drive.readonly * https://www.googleapis.com/auth/drive.metadata.readonly * https://www.googleapis.com/auth/drive.appdata * https://www.googleapis.com/auth/drive.metadata * https://www.googleapis.com/auth/drive.photos.readonly * ***google-drive-file-delete*** * https://www.googleapis.com/auth/drive * https://www.googleapis.com/auth/drive.file * https://www.googleapis.com/auth/drive.appdata * ***google-drive-file-permissions-list*** * https://www.googleapis.com/auth/drive * https://www.googleapis.com/auth/drive.file * https://www.googleapis.com/auth/drive.readonly * https://www.googleapis.com/auth/drive.metadata.readonly * https://www.googleapis.com/auth/drive.metadata * https://www.googleapis.com/auth/drive.photos.readonly * ***google-drive-file-permission-create*** * ***google-drive-file-permission-update*** * ***google-drive-file-permission-delete*** * https://www.googleapis.com/auth/drive * https://www.googleapis.com/auth/drive.file * ***google-drive-file-modify-label*** * ***google-drive-get-labels*** * ***google-drive-get-file-labels*** * https://www.googleapis.com/auth/drive * https://www.googleapis.com/auth/drive.labels