Skip to content

Commit 0c598e1

Browse files
committed
cdh: always use the resource plugin
For now, the CDH will always use the resource plugin. In the future we can allow the plugin to be specified via a sealed secret or the rest API. For now, let's just be explicit about which plugin we are using. Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
1 parent 3adf091 commit 0c598e1

File tree

1 file changed

+1
-1
lines changed
  • confidential-data-hub/kms/src/plugins/kbs

1 file changed

+1
-1
lines changed

confidential-data-hub/kms/src/plugins/kbs/cc_kbc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl Kbc for CcKbc {
5555
async fn get_resource(&mut self, rid: ResourceUri) -> Result<Vec<u8>> {
5656
let secret = self
5757
.client
58-
.get_resource(rid)
58+
.get_resource(rid, "resource".to_string())
5959
.await
6060
.map_err(|e| Error::KbsClientError(format!("get resource failed: {e:?}")))?;
6161
Ok(secret)

0 commit comments

Comments
 (0)