{"record":{"id":"b4a32d0ce144a937","repo":"wasmerio/wasmer","slug":"failed-to-rotate-s3-credentials-for-volume-s","errorCode":null,"errorMessage":"Failed to rotate S3 credentials for {} volume(s): {}","messagePattern":"Failed to rotate S3 credentials for (.+?) volume\\(s\\): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/cli/src/commands/app/volumes/credentials/rotate_secrets.rs","lineNumber":99,"sourceCode":"                    );\n                    failures.push(volume.label());\n                }\n                Err(err) => {\n                    eprintln!(\n                        \"Failed to rotate S3 credentials for volume {}: {err:#}\",\n                        volume.label()\n                    );\n                    failures.push(volume.label());\n                }\n            }\n        }\n\n        // Emit the rotated credentials as a single document; json/yaml stay one\n        // array/list (empty `[]` when nothing rotated).\n        println!(\"{}\", render_s3_credentials(self.fmt.format, &records));\n\n        if !failures.is_empty() {\n            anyhow::bail!(\n                \"Failed to rotate S3 credentials for {} volume(s): {}\",\n                failures.len(),\n                failures.join(\", \")\n            );\n        }\n\n        Ok(())\n    }\n}\n","sourceCodeStart":81,"sourceCodeEnd":109,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/cli/src/commands/app/volumes/credentials/rotate_secrets.rs#L81-L109","documentation":"Error \"Failed to rotate S3 credentials for {} volume(s): {}\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/cli/src/commands/app/volumes/credentials/rotate_secrets.rs:99 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5","analyzedAt":"2026-09-01T23:06:31.009Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}