Hi there,
Experiencing difficulties with launching session recording on Minio storage. In a test environment I created a Minio instance:
- A test-bucket
- User with a policy able to write to the storage
- Access Keys associated with the user
Here is my policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:GetObjectAttributes",
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::boundary-recordings/*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::boundary-recordings"
]
},
{
"Effect": "Allow",
"Action": [
"admin:CreateServiceAccount",
"admin:RemoveServiceAccount"
]
}
]
}
Added as a storage from Admin UI of Boundary, and turned on a policy with deletion and retention rules.
My worker has in the config:
recording_storage_path = "/recording"
recording_storage_minimum_available_capacity = "500MB"
Once I picked a target and turned on the Session recording, and using boundary desktop as a user trying to connect a target I get the error:
targets.(Service).AuthorizeSession: recording.(Repository).StartSessionRecording: failed to create BSR keys: unknown: error #0: kms.CreateBsrKeys: missing external bsr wrapper: invalid parameter
Would you like to retry?
As for root, worker-auth I’m using KMS “transit” from vault, and it’s working fine, what have I missed ? Thanks in advance.