Remotely Save
Remotely Save
Getting started
-
Create a service account.
-
Assign the required role to the service account, e.g.,
storage.editor. To learn more about roles, see Managing access with Yandex Identity and Access Management.To work with objects in an encrypted bucket, a user or service account must have the following roles for the encryption key in addition to the
storage.configurerrole:kms.keys.encrypter: To read the key, encrypt and upload objects.kms.keys.decrypter: To read the key, decrypt and download objects.kms.keys.encrypterDecrypter: This role includes thekms.keys.encrypterandkms.keys.decrypterpermissions.
For more information, see Key Management Service service roles.
Tip
You can assign a role for a folder or a bucket to a service account. A role for a folder gives the GUI client access to all the buckets in the folder. A role for a bucket gives the client access only to this particular bucket. For granular access, assign a role for a particular bucket.
-
As a result, you will get the static access key data. To authenticate in Object Storage, you will need the following:
key_id: Static access key IDsecret: Secret key
Save
key_idandsecret: you will not be able to get the key value again.
Note
A service account is only allowed to view a list of buckets in the folder it was created in.
A service account can perform actions with objects in buckets that are created in folders different from the service account folder. To enable this, assign the service account roles for the appropriate folder or its bucket.
Installation
- In Obsidian, open Settings → Community plugins.
- Disable Restricted mode if enabled.
- Click Browse and enter
Remotely Savein the search bar. - Select the Remotely Save plugin and click Install.
- To enable the plugin once it is installed, click Enable.
Configuration
- In Obsidian, open Settings → Remotely Save.
- In the Choose a remote service field, select S3 or compatible.
- Configure the connection as follows:
- Endpoint:
https://storage.yandexcloud.net. - Region:
ru-central1. - Access key ID: Static key ID you got previously.
- Secret Access Key: Static key contents you got previously.
- Bucket Name: Name of the bucket you created earlier.
- Endpoint:
- Click Check to test the connection.
- Close the settings window. The data will be saved automatically.
- Restart Obsidian.
Syncing
To start synchronization, click the plugin icon in the Obsidian side panel or run the Remotely Save: start sync command via the command palette (Ctrl+P/Cmd+P).
Once synchronized, files from Obsidian will appear in the bucket as objects with keys in folder/subfolder/note.md format.
For more information about the plugin, refer to Remotely Save guides