(self, tenant_id)
return kp_region_collection
Returns the keypairs for a region
Returns the keypairs for a region
Returns the keypairs for a region
def _keypair_collection_for_tenant(self, tenant_id):
        """
        Returns the keypairs for a region
        """
        tenant_session = self._session_store.session_for_tenant_id(tenant_id)
        kp_global_collection = tenant_session.data_for_api(
            "keypair_collection",
            lambda: GlobalKeyPairCollections(tenant_id=tenant_id,
                                             clock=self._session_store.clock))
        kp_region_collection = kp_global_collection.collection_for_region(
            self._name)
        return kp_region_collection
def _keypair_collection_for_tenant ( self , tenant_id ) : tenant_session = self . _session_store . session_for_tenant_id ( tenant_id ) kp_global_collection = tenant_session . data_for_api ( "keypair_collection" , lambda : GlobalKeyPairCollections ( tenant_id = tenant_id , clock = self . _session_store . clock ) ) kp_region_collection = kp_global_collection . collection_for_region ( self . _name ) return kp_region_collection