You don't. At least not directly. However, the app that works with your security camera may give you the option to back up that feed to iCloud. Check with the manufacturer.
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
Security cameras
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.