files.com 1.1.770 → 1.1.771
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/remote_server.md +8 -0
- data/lib/files.com/models/remote_server.rb +15 -0
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba2233176acec459a9153f352067ae5b7e82a69f8d20d9e9635a1da0760896f1
|
|
4
|
+
data.tar.gz: 82536ede5376f998ba6c0827cdf349041daf7c313cf08295aa354d9643394606
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0279639e4ed0268c37345eaf3329fac1311ef5cbb24ae92eeebda299fec69cbc0c0b2c38168e652111d1e1b7c756f68fcf194b541d73209b3d4f773cee9efa05'
|
|
7
|
+
data.tar.gz: 33a7181f562e76dae23dc6a54b6d60aad77ddfb5cf8dc2fbb27667a0f4bb656b64be3a0dbb03e4bb726b2e28a4c8f19ce71ce729e53f857a67e9bc484fd9d5be
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.771
|
data/docs/remote_server.md
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"remote_server_credential_id": 1,
|
|
22
22
|
"s3_bucket": "my-bucket",
|
|
23
23
|
"s3_region": "us-east-1",
|
|
24
|
+
"s3_kms_key_id": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
|
|
24
25
|
"aws_access_key": "example",
|
|
25
26
|
"s3_assume_role_arn": "example",
|
|
26
27
|
"s3_assume_role_duration_seconds": 1,
|
|
@@ -106,6 +107,7 @@
|
|
|
106
107
|
* `remote_server_credential_id` (int64): ID of Remote Server Credential, if applicable.
|
|
107
108
|
* `s3_bucket` (string): S3 bucket name
|
|
108
109
|
* `s3_region` (string): S3 region
|
|
110
|
+
* `s3_kms_key_id` (string): ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
109
111
|
* `aws_access_key` (string): AWS Access Key.
|
|
110
112
|
* `s3_assume_role_arn` (string): AWS IAM Role ARN for AssumeRole authentication.
|
|
111
113
|
* `s3_assume_role_duration_seconds` (int64): Session duration in seconds for AssumeRole authentication (900-43200).
|
|
@@ -309,6 +311,7 @@ Files::RemoteServer.create(
|
|
|
309
311
|
s3_compatible_endpoint: "mys3platform.com",
|
|
310
312
|
s3_compatible_region: "us-east-1",
|
|
311
313
|
s3_compatible_virtual_hosted_style: true,
|
|
314
|
+
s3_kms_key_id: "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
|
|
312
315
|
s3_region: "us-east-1",
|
|
313
316
|
server_certificate: "require_match",
|
|
314
317
|
server_host_key: "[public key]",
|
|
@@ -399,6 +402,7 @@ Files::RemoteServer.create(
|
|
|
399
402
|
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
400
403
|
* `s3_compatible_region` (string): S3-compatible: region
|
|
401
404
|
* `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
405
|
+
* `s3_kms_key_id` (string): ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
402
406
|
* `s3_region` (string): S3 region
|
|
403
407
|
* `server_certificate` (string): Remote server certificate
|
|
404
408
|
* `server_host_key` (string): Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
@@ -483,6 +487,7 @@ Files::RemoteServer.update(id,
|
|
|
483
487
|
s3_compatible_endpoint: "mys3platform.com",
|
|
484
488
|
s3_compatible_region: "us-east-1",
|
|
485
489
|
s3_compatible_virtual_hosted_style: true,
|
|
490
|
+
s3_kms_key_id: "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
|
|
486
491
|
s3_region: "us-east-1",
|
|
487
492
|
server_certificate: "require_match",
|
|
488
493
|
server_host_key: "[public key]",
|
|
@@ -572,6 +577,7 @@ Files::RemoteServer.update(id,
|
|
|
572
577
|
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
573
578
|
* `s3_compatible_region` (string): S3-compatible: region
|
|
574
579
|
* `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
580
|
+
* `s3_kms_key_id` (string): ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
575
581
|
* `s3_region` (string): S3 region
|
|
576
582
|
* `server_certificate` (string): Remote server certificate
|
|
577
583
|
* `server_host_key` (string): Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
@@ -687,6 +693,7 @@ remote_server.update(
|
|
|
687
693
|
s3_compatible_endpoint: "mys3platform.com",
|
|
688
694
|
s3_compatible_region: "us-east-1",
|
|
689
695
|
s3_compatible_virtual_hosted_style: true,
|
|
696
|
+
s3_kms_key_id: "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
|
|
690
697
|
s3_region: "us-east-1",
|
|
691
698
|
server_certificate: "require_match",
|
|
692
699
|
server_host_key: "[public key]",
|
|
@@ -776,6 +783,7 @@ remote_server.update(
|
|
|
776
783
|
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
777
784
|
* `s3_compatible_region` (string): S3-compatible: region
|
|
778
785
|
* `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
786
|
+
* `s3_kms_key_id` (string): ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
779
787
|
* `s3_region` (string): S3 region
|
|
780
788
|
* `server_certificate` (string): Remote server certificate
|
|
781
789
|
* `server_host_key` (string): Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
@@ -162,6 +162,15 @@ module Files
|
|
|
162
162
|
@attributes[:s3_region] = value
|
|
163
163
|
end
|
|
164
164
|
|
|
165
|
+
# string - ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
166
|
+
def s3_kms_key_id
|
|
167
|
+
@attributes[:s3_kms_key_id]
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
def s3_kms_key_id=(value)
|
|
171
|
+
@attributes[:s3_kms_key_id] = value
|
|
172
|
+
end
|
|
173
|
+
|
|
165
174
|
# string - AWS Access Key.
|
|
166
175
|
def aws_access_key
|
|
167
176
|
@attributes[:aws_access_key]
|
|
@@ -1021,6 +1030,7 @@ module Files
|
|
|
1021
1030
|
# s3_compatible_endpoint - string - S3-compatible: endpoint
|
|
1022
1031
|
# s3_compatible_region - string - S3-compatible: region
|
|
1023
1032
|
# s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
1033
|
+
# s3_kms_key_id - string - ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
1024
1034
|
# s3_region - string - S3 region
|
|
1025
1035
|
# server_certificate - string - Remote server certificate
|
|
1026
1036
|
# server_host_key - string - Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
@@ -1102,6 +1112,7 @@ module Files
|
|
|
1102
1112
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
|
1103
1113
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
|
1104
1114
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
|
|
1115
|
+
raise InvalidParameterError.new("Bad parameter: s3_kms_key_id must be an String") if params[:s3_kms_key_id] and !params[:s3_kms_key_id].is_a?(String)
|
|
1105
1116
|
raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params[:s3_region] and !params[:s3_region].is_a?(String)
|
|
1106
1117
|
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
|
|
1107
1118
|
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
|
@@ -1303,6 +1314,7 @@ module Files
|
|
|
1303
1314
|
# s3_compatible_endpoint - string - S3-compatible: endpoint
|
|
1304
1315
|
# s3_compatible_region - string - S3-compatible: region
|
|
1305
1316
|
# s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
1317
|
+
# s3_kms_key_id - string - ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
1306
1318
|
# s3_region - string - S3 region
|
|
1307
1319
|
# server_certificate - string - Remote server certificate
|
|
1308
1320
|
# server_host_key - string - Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
@@ -1387,6 +1399,7 @@ module Files
|
|
|
1387
1399
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
|
1388
1400
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
|
1389
1401
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
|
|
1402
|
+
raise InvalidParameterError.new("Bad parameter: s3_kms_key_id must be an String") if params[:s3_kms_key_id] and !params[:s3_kms_key_id].is_a?(String)
|
|
1390
1403
|
raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params[:s3_region] and !params[:s3_region].is_a?(String)
|
|
1391
1404
|
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
|
|
1392
1405
|
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
|
@@ -1493,6 +1506,7 @@ module Files
|
|
|
1493
1506
|
# s3_compatible_endpoint - string - S3-compatible: endpoint
|
|
1494
1507
|
# s3_compatible_region - string - S3-compatible: region
|
|
1495
1508
|
# s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
1509
|
+
# s3_kms_key_id - string - ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
|
|
1496
1510
|
# s3_region - string - S3 region
|
|
1497
1511
|
# server_certificate - string - Remote server certificate
|
|
1498
1512
|
# server_host_key - string - Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
|
|
@@ -1578,6 +1592,7 @@ module Files
|
|
|
1578
1592
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
|
1579
1593
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
|
1580
1594
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
|
|
1595
|
+
raise InvalidParameterError.new("Bad parameter: s3_kms_key_id must be an String") if params[:s3_kms_key_id] and !params[:s3_kms_key_id].is_a?(String)
|
|
1581
1596
|
raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params[:s3_region] and !params[:s3_region].is_a?(String)
|
|
1582
1597
|
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
|
|
1583
1598
|
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
data/lib/files.com/version.rb
CHANGED