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
// Show confirmation dialog with appropriate message
156
-
constdisabled=inputs.disable;
157
-
constaction=disabled ? 'disable' : 'enable';
158
-
constbaseMessage=`You may ignore this warning if you are not changing the disabled status of this keypair.\n\nAre you sure you want to ${action}${inputs.subscriptionId}?`;
159
-
160
-
letconfirmationMessage;
161
-
if(disabled){
162
-
confirmationMessage=`Disabling this client-side keypair will prevent it from using CSTG.\nBefore proceeding, ensure there is no valid traffic, and confirm that the participant has provided consent.\n\n${baseMessage}`;
163
-
}else{
164
-
confirmationMessage=`Enabling this client-side keypair will allow it to use CSTG.\n\n${baseMessage}`;
description: 'This will update the keypair settings, including its enabled/disabled status.',
123
+
confirmationText: 'This will update the keypair settings. If you are changing the disabled status, ensure there is no valid traffic, and confirm that the participant has provided consent.',
Copy file name to clipboardExpand all lines: webroot/adm/enclave-gcp-v2.html
+7-33Lines changed: 7 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -109,44 +109,18 @@ <h3>Generated Examples</h3>
109
109
returnsha256base64(str);
110
110
}
111
111
112
-
constoperationConfig=[
113
-
{
114
-
type: 'write',
112
+
constoperationConfig={
113
+
write: {
115
114
title: 'GCP Enclave V2 Operations',
116
115
operations: [
117
116
{
118
-
id: 'doGenerate',
117
+
id: 'generateGcpV2EnclaveConfig',
119
118
title: 'Generate Enclave ID and gcloud command',
120
119
role: 'elevated',
121
120
inputs: [
122
-
{
123
-
id: 'imageId-generate',
124
-
name: 'imageId',
125
-
label: 'Operator Docker Image ID',
126
-
required: true,
127
-
size: 3,
128
-
placeholder: 'The full digest for the image, with or without \'sha256:\''
129
-
},
130
-
{
131
-
id: 'envId-generate',
132
-
name: 'envId',
133
-
label: 'Environment',
134
-
type: 'select',
135
-
required: true,
136
-
size: 1,
137
-
defaultValue: 'integ',
138
-
options: [
139
-
{value: 'integ',label: 'Integration'},
140
-
{value: 'prod',label: 'Production'}
141
-
]
142
-
},
143
-
{
144
-
id: 'debugMode-generate',
145
-
name: 'debugMode',
146
-
label: 'Debug Mode (Integration Only)',
147
-
type: 'checkbox',
148
-
size: 2
149
-
}
121
+
imageIdInput,
122
+
envIdSelectInput,
123
+
debugModeCheckboxInput
150
124
],
151
125
description: 'Set Debug Mode to true if you want to use DebugMode Confidential Space host image in integration env. (You need to generate a new enclaveId.)',
0 commit comments