Flats. For key signatures with flats, the key signature is the second to last flat. This is the key of E flat because E flat is the second to last flat in the key signature. This is the key of D flat because D flat is the second to last flat in the key signature.