You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: octavia-cli/README.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,22 @@ Octavia is currently under development.
34
34
You can find a detailed and updated execution plan [here](https://docs.google.com/spreadsheets/d/1weB9nf0Zx3IR_QvpkxtjBAzyfGb7B0PWpsVt6iMB5Us/edit#gid=0).
35
35
We welcome community contributions!
36
36
37
+
# Secret management
38
+
Sources and destinations configurations have credential fields that you **do not want to store as plain text and version on Git**.
39
+
`octavia` offers secret management through environment variables expansion:
40
+
```yaml
41
+
configuration:
42
+
password: ${MY_PASSWORD}
43
+
```
44
+
If you have set a `MY_PASSWORD` environment variable, `octavia apply` will load its value into the `password` field.
Copy file name to clipboardExpand all lines: octavia-cli/integration_tests/test_generate/expected_rendered_yaml/destination_postgres/expected.yaml
+3-3
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ configuration:
13
13
database: # REQUIRED | string | Name of the database.
14
14
schema: "public"# REQUIRED | string | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | Example: public
15
15
username: # REQUIRED | string | Username to use to access the database.
16
-
password: # SECRET | OPTIONAL | string | Password associated with the username.
16
+
password: ${PASSWORD} # SECRET (please store in environment variables) | OPTIONAL | string | Password associated with the username.
17
17
ssl: # OPTIONAL | boolean | Encrypt data using SSL.
18
18
tunnel_method:
19
19
## -------- Pick one valid structure among the examples below: --------
@@ -23,10 +23,10 @@ configuration:
23
23
# tunnel_host: # REQUIRED | string | Hostname of the jump server host that allows inbound ssh tunnel.
24
24
# tunnel_port: 22 # REQUIRED | integer | Port on the proxy/jump server that accepts inbound ssh connections. | Example: 22
25
25
# tunnel_user: # REQUIRED | string | OS-level username for logging into the jump server host.
26
-
# ssh_key: # SECRET | REQUIRED | string | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa )
26
+
# ssh_key: ${SSH_KEY} # SECRET (please store in environment variables) | REQUIRED | string | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa )
27
27
## -------- Another valid structure for tunnel_method: --------
28
28
# tunnel_method: "SSH_PASSWORD_AUTH" # REQUIRED | string | Connect through a jump server tunnel host using username and password authentication
29
29
# tunnel_host: # REQUIRED | string | Hostname of the jump server host that allows inbound ssh tunnel.
30
30
# tunnel_port: 22 # REQUIRED | integer | Port on the proxy/jump server that accepts inbound ssh connections. | Example: 22
31
31
# tunnel_user: # REQUIRED | string | OS-level username for logging into the jump server host
32
-
# tunnel_user_password: # SECRET | REQUIRED | string | OS-level password for logging into the jump server host
32
+
# tunnel_user_password: ${TUNNEL_USER_PASSWORD} # SECRET (please store in environment variables) | REQUIRED | string | OS-level password for logging into the jump server host
Copy file name to clipboardExpand all lines: octavia-cli/integration_tests/test_generate/expected_rendered_yaml/destination_s3/expected.yaml
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ configuration:
12
12
s3_bucket_name: # REQUIRED | string | The name of the S3 bucket. | Example: airbyte_sync
13
13
s3_bucket_path: # REQUIRED | string | Directory under the S3 bucket where data will be written. | Example: data_sync/test
14
14
s3_bucket_region: # REQUIRED | string | The region of the S3 bucket.
15
-
access_key_id: # SECRET | OPTIONAL | string | The access key id to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket, if not set, Airbyte will rely on Instance Profile. | Example: A012345678910EXAMPLE
16
-
secret_access_key: # SECRET | OPTIONAL | string | The corresponding secret to the access key id, if S3 Key Id is set, then S3 Access Key must also be provided | Example: a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY
15
+
access_key_id: ${ACCESS_KEY_ID} # SECRET (please store in environment variables) | OPTIONAL | string | The access key id to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket, if not set, Airbyte will rely on Instance Profile. | Example: A012345678910EXAMPLE
16
+
secret_access_key: ${SECRET_ACCESS_KEY} # SECRET (please store in environment variables) | OPTIONAL | string | The corresponding secret to the access key id, if S3 Key Id is set, then S3 Access Key must also be provided | Example: a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY
17
17
format:
18
18
## -------- Pick one valid structure among the examples below: --------
## -------- Pick one valid structure among the examples below: --------
@@ -31,10 +31,10 @@ configuration:
31
31
# tunnel_host: # REQUIRED | string | Hostname of the jump server host that allows inbound ssh tunnel.
32
32
# tunnel_port: 22 # REQUIRED | integer | Port on the proxy/jump server that accepts inbound ssh connections. | Example: 22
33
33
# tunnel_user: # REQUIRED | string | OS-level username for logging into the jump server host.
34
-
# ssh_key: # SECRET | REQUIRED | string | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa )
34
+
# ssh_key: ${SSH_KEY} # SECRET (please store in environment variables) | REQUIRED | string | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa )
35
35
## -------- Another valid structure for tunnel_method: --------
36
36
# tunnel_method: "SSH_PASSWORD_AUTH" # REQUIRED | string | Connect through a jump server tunnel host using username and password authentication
37
37
# tunnel_host: # REQUIRED | string | Hostname of the jump server host that allows inbound ssh tunnel.
38
38
# tunnel_port: 22 # REQUIRED | integer | Port on the proxy/jump server that accepts inbound ssh connections. | Example: 22
39
39
# tunnel_user: # REQUIRED | string | OS-level username for logging into the jump server host
40
-
# tunnel_user_password: # SECRET | REQUIRED | string | OS-level password for logging into the jump server host
40
+
# tunnel_user_password: ${TUNNEL_USER_PASSWORD} # SECRET (please store in environment variables) | REQUIRED | string | OS-level password for logging into the jump server host
0 commit comments