Associate key with machine upon machine creation