move apt uri and key to attributes