Changed sha-256 to sha-1 for aws