glance/glance/tests/etc
sridevik 63195aaa3b Remove user and key from location in swift
The image locations table stores the swift url for images
which includes the user and key values. This if exposed,
can cause security risk. Hence this patch, santizies
that information out of the location before storing
and plugs it back in when it is required.
Introduced a new configuration file that supports
multiple swift account references. It has the credentials and
authurl for each store.  It is specified using
'swift_store_config_file'.
In addition, this patch does the following things:

Differentiate user and system created swift locations

Currently we do not differentiate between user supplied
uri and system created locations that have the account
reference. This patch introduces new scheme:
'swift+config' for this purpose.

Image create in V1 should validate the uri in case where location isn't
specified.

This patch ensures that a store is not set while
creating an image or updating it.

Related to bp remove-sensitive-data-from-locations
Implements blueprint: support-multiple-swift-backends
Implements bp: v1-image-create-should-validate-the-location-uri
DocImpact

Co-authored by: sridevik <sridevi.koushik@rackspace.com>,
iccha-sethi <iccha.sethi@rackspace.com>,
amalabasha <amala.alungal@rackspace.com>

Change-Id: I75af34145521f533dcd6f5fd7690f5a68f3b44b3
2014-06-24 12:13:26 +05:30
..
glance-swift.conf Remove user and key from location in swift 2014-06-24 12:13:26 +05:30
policy.json Adding missing copy_from policy from policy.json 2013-12-13 12:22:15 +00:00
property-protections-policies.conf Check first matching rule for protected properties 2014-01-22 17:41:10 +00:00
property-protections.conf Check first matching rule for protected properties 2014-01-22 17:41:10 +00:00
schema-image.json Use container_format and disk_format as-is in v2 2012-08-10 14:09:49 -07:00