Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
allow_form.png 100.3 kB 1 29-Dec-2020 05:25 krivacsz
png
bucket_and_test.png 250.0 kB 2 29-Dec-2020 05:25 krivacsz
png
clopud_storage_api_enable.png 47.1 kB 1 29-Dec-2020 05:25 krivacsz
png
cloud_storage_sttings.png 63.4 kB 1 10-Jul-2023 10:26 krivacsz
png
gstroage_s3_api_vfs_enabled.pn... 174.9 kB 1 12-Jul-2023 10:21 krivacsz
png
not_verified_domain.png 111.6 kB 1 29-Dec-2020 05:25 krivacsz
png
oauth_form.png 61.3 kB 1 29-Dec-2020 05:25 krivacsz
png
s3_vfs_settings.png 210.0 kB 1 10-Jul-2023 10:48 krivacsz
png
service_account.png 113.5 kB 1 10-Jul-2023 08:27 krivacsz
png
service_account_details.png 83.7 kB 1 10-Jul-2023 08:39 krivacsz
png
service_account_new_key.png 72.9 kB 1 10-Jul-2023 09:43 krivacsz
png
service_account_private_key.pn... 41.0 kB 1 10-Jul-2023 09:48 krivacsz
png
service_acount_vfs_test.png 130.7 kB 1 10-Jul-2023 10:02 krivacsz
png
storage_account_access.png 121.4 kB 1 10-Jul-2023 09:29 krivacsz

This page (revision-55) was last changed on 12-Jul-2023 10:25 by krivacsz

This page was created on 29-Dec-2020 05:25 by Halmágyi Árpád

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 6 changed one line
You first need to make a project. My example calls this CrushFTP-Test.\\
You need to enable the GoogleStorage API for your account if its not already.\\
[https://console.developers.google.com/apis/library/storage-component.googleapis.com/]\\
[attachments|clopud_storage_api_enable.png]\\
\\
Create a new project. My example calls this "CrushFTP-Test".\\
At line 8 removed one line
At line 10 changed one line
Next select create credentials, and choose the Web Application type.\\
!1. Web Application type\\
\\
Next, click on the "Create Credentials" button, and choose the Web Application type.\\
At line 17 changed one line
You also need to put in the redirect URL of where google is going to send you back to after approval. This needs to follow the syntax in the example. Specifically your domain needs to end with:\\
Configure the redirect URL of where Google will send you back after approval. This needs to follow the syntax in the example. Specifically, your domain needs to end with:\\
At line 27 changed one line
Now that the API is enabled, and your credentials are setup, and your redirect domains are configured, you can use the credentials in CrushFTP to get your google auth token and get access.\\
Now that the API is enabled, your credentials are setup, and your redirect domains are configured, you can use the credentials in CrushFTP to get your Google auth token and get access.\\
At line 30 removed 4 lines
{{{
client_id: 725111111110-7kaimtXXXXXXXXXXXXXXXXXXXXX64m4k.apps.googleusercontent.com
secret: fEsXXXXXXXXXXXXXXXXPggg7
}}}
At line 36 added 2 lines
[attachments|oauth_form.png]\\
\\
At line 46 added 4 lines
The refresh token will be saved as password.\\
Provide the bucket and the path.\\
It is done! Test the connection and save it!\\
[attachments|bucket_and_test.png]\\
At line 51 added 61 lines
!2. Service Account type\\
\\
Create Credentials -> Service Account.\\
[attachments|service_account.png]\\
\\
Provide a name and continue.\\
[attachments|service_account_details.png]\\
\\
Configure the service account access.\\
[attachments|storage_account_access.png]\\
\\
Click on the "Done" button.\\
\\
Navigate to the newly created Service Account. Go to the KEYS tab. Click on the "Add KEY" button, and then select "Create new key".\\
[attachments|service_account_new_key.png]\\
\\
Download the JSON file.\\
[attachments|service_account_private_key.png]\\
\\
__VFS configuration:__\\
\\
Username:__google_jwt__\\
Special user name for Service Account Access.\\
Password:__<<the JSON file content>>__\\
It authenticates based on the provided JSON file.\\
Provide the __bucket__ and the path.\\
It is done! Test the connection and save it!\\
[attachments|service_acount_vfs_test.png]\\
\\
!3. Access through S3 API\\
\\
Generate __Access key__ and __Secret__. Got to [https://console.cloud.google.com/] In the left sidebar of the dashboard, click Google Cloud Storage and then Settings.\\
[attachments|cloud_storage_sttings.png]\\
Select the Interoperability tab. If you haven't enabled it already, click on __Interoperable Access__. Now you should see an empty list and a __Create New Key__ button. Click the button to create an __Access/Secret key__ pair.\\
\\
__Google Cloud S3 VFS configuration:__\\
__1.__
\\Domain:<<Cloud Storage -> Settings -> INTEROPERABILITY -> Domain of __Storage URI__ default is __storage.googleapis.com__>> \\
Change the S3 default domain (s3.amazonaws.com) to the domain of Google Cloud Storage domain.\\
User name:__<<Access Key>>__\\
Password:__<<Secret>>__\\
Bucket:__<<Google Cloud Storage Bucket Name>>__\\
__SHA256 enabled on signing (Signing Version 4)__:<<Enabled>>\\
__!Warning__ Signing version 4 must be enabled, as Google Cloud Storage does not support older signing versions.\\
\\
[attachments|s3_vfs_settings.png]\\
__2.__
Select __GStorage__ Item type.\\
Enable __S3 API__ flag.\\
\\Domain:<<Cloud Storage -> Settings -> INTEROPERABILITY -> Domain of __Storage URI__ default is __storage.googleapis.com__>> \\
Change the S3 default domain (s3.amazonaws.com) to the domain of Google Cloud Storage domain.\\
User name:__<<Access Key>>__\\
Password:__<<Secret>>__\\
Bucket:__<<Google Cloud Storage Bucket Name>>__\\
__SHA256 enabled on signing (Signing Version 4)__:<<Enabled>>\\
__!Warning__ Signing version 4 must be enabled, as Google Cloud Storage does not support older signing versions.\\
\\
[attachments|gstroage_s3_api_vfs_enabled.png]\\
\\
More info about s3 VFS configuration: [S3 integration]\\
\\
Version Date Modified Size Author Changes ... Change note
55 12-Jul-2023 10:25 5.178 kB krivacsz to previous
54 12-Jul-2023 10:24 5.133 kB krivacsz to previous | to last
53 12-Jul-2023 10:23 4.582 kB krivacsz to previous | to last
52 11-Jul-2023 07:02 4.532 kB krivacsz to previous | to last
51 11-Jul-2023 07:01 4.526 kB krivacsz to previous | to last
50 11-Jul-2023 06:46 4.524 kB krivacsz to previous | to last
49 11-Jul-2023 06:46 4.523 kB krivacsz to previous | to last
48 11-Jul-2023 06:39 4.519 kB krivacsz to previous | to last
47 11-Jul-2023 02:49 4.349 kB krivacsz to previous | to last
46 10-Jul-2023 10:51 4.348 kB krivacsz to previous | to last
45 10-Jul-2023 10:50 4.299 kB krivacsz to previous | to last
44 10-Jul-2023 10:49 4.283 kB krivacsz to previous | to last
43 10-Jul-2023 10:49 4.239 kB krivacsz to previous | to last
42 10-Jul-2023 10:48 4.236 kB krivacsz to previous | to last
41 10-Jul-2023 10:46 4.195 kB krivacsz to previous | to last
« This page (revision-55) was last changed on 12-Jul-2023 10:25 by krivacsz
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki