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
docs(deploy-tooling): port README credentials docs and CLI test from PR #3384
- Add Credentials section to README explaining env: variable requirement
- Update --username/--password CLI option descriptions in deploy and undeploy tables
- Add cliCmdWithBasicAuth test case to CLI integration tests
Copy file name to clipboardExpand all lines: packages/deploy-tooling/README.md
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,31 @@ This is the minimal custom task configuration for deployment using package `$TMP
72
72
- /test/
73
73
```
74
74
75
+
#### Credentials
76
+
77
+
You can provide credentials for the ABAP system using environment variables. The credentials are required for authentication against the ABAP system. Plain text credentials are not supported, use environment variables instead.
78
+
79
+
```yaml
80
+
- name: abap-deploy-task
81
+
configuration:
82
+
credentials:
83
+
username: env:XYZ_USER
84
+
password: env:XYZ_PASSWORD
85
+
app:
86
+
name: Z_TEST
87
+
package: $TMP
88
+
target:
89
+
url: https://target.example
90
+
exclude:
91
+
- /test/
92
+
```
93
+
Create an `.env` file in the root of your project with the following content:
94
+
95
+
```
96
+
XYZ_USER=your-username
97
+
XYZ_PASSWORD=your-password
98
+
```
99
+
75
100
#### Configuration with logging enabled
76
101
Set the level of detail for log messages, default is `Info`;
77
102
```json
@@ -129,8 +154,8 @@ Options:
129
154
--cloud target is an ABAP Cloud system
130
155
--cloud-service-key <file-location> JSON file location with the ABAP cloud service key.
131
156
--cloud-service-env Load ABAP cloud service properties from either a .env file or your environment variables. Secrets in your .env should not be committed to source control.
132
-
--username ABAP Service username
133
-
--password ABAP Service password
157
+
--username ABAP Service username, plain text credentials are not supported, use environment variables
158
+
--password ABAP Service password, plain text credentials are not supported, use environment variables
134
159
--authentication-type Authentication type for the app (e.g. 'basic', 'reentranceTicket'). Required for 'reentranceTicket'.
135
160
--create-transport Create a transport request during deployment/undeployment
136
161
--transport <transport-request> Transport number to record the change in the ABAP system
@@ -206,8 +231,8 @@ Options:
206
231
--cloud target is an ABAP Cloud system
207
232
--cloud-service-key <file-location> JSON file location with the ABAP cloud service key.
208
233
--cloud-service-env Load ABAP cloud service properties from either a .env file or your environment variables
209
-
--username ABAP Service username
210
-
--password ABAP Service password
234
+
--username ABAP Service username, plain text credentials are not supported, use environment variables
235
+
--password ABAP Service password, plain text credentials are not supported, use environment variables
211
236
--authentication-type Authentication type for the app (e.g. 'basic', 'reentranceTicket'). Required for 'reentranceTicket'.
212
237
--transport <transport-request> Transport number to record the change in the ABAP system
213
238
--create-transport Create a transport request during deployment
0 commit comments