<div dir="ltr">Hello Nikhil,<br><br>Looking at how my proposed solution ( <a href="https://review.openstack.org/319659">https://review.openstack.org/319659</a>) was inefficient. Instead of using a dummy string to identify encrypted data, I have been thinking about handling the exceptions that are generated when you try to decrypt unencrypted data, since it would either cause a "TypeError" or "ValueError" as seen  here<br><br> <a href="https://github.com/openstack/glance/blob/24fae90c179d306c3f6763e9b4412a3e7ebd67e9/glance/db/sqlalchemy/migrate_repo/versions/017_quote_encrypted_swift_credentials.py#L125">https://github.com/openstack/glance/blob/24fae90c179d306c3f6763e9b4412a3e7ebd67e9/glance/db/sqlalchemy/migrate_repo/versions/017_quote_encrypted_swift_credentials.py#L125</a> . <br><br>But I am still waiting a review and proposed solution.<br><br>Thanks<br>Konrad <br></div>